Replies: 2
I tried to update my SPF record, thinking that may be the issue but still having issues connecting.
Versions:
WordPress: 5.6.2
WordPress MS: No
PHP: 7.3.27
WP Mail SMTP: 2.7.0
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP Error: Could not connect to SMTP host.
Host: smtp.office365.com
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)
Server:
OpenSSL: OpenSSL 1.1.1k 25 Mar 2021
Debug:
Mailer: Other SMTP
SMTP Error: Could not connect to SMTP host.
SMTP Debug:
2021-04-02 13:48:27 Connection: opening to smtp.office365.com:587, timeout=300, options=array()
2021-04-02 13:48:27 Connection: opened
2021-04-02 13:48:27 SERVER -> CLIENT: 220-qc2v-lng2.accessdomain.com ESMTP Exim 4.94 #2 Fri, 02 Apr 2021 09:48:27 -0400 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
2021-04-02 13:48:27 CLIENT -> SERVER: EHLO busybeaver.com
2021-04-02 13:48:27 SERVER -> CLIENT: 250-qc2v-lng2.accessdomain.com Hello busybeaver.com [70.32.89.117]250-SIZE 52428800250-8BITMIME250-PIPELINING250-X_PIPE_CONNECT250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
2021-04-02 13:48:27 CLIENT -> SERVER: STARTTLS
2021-04-02 13:48:27 SERVER -> CLIENT: 220 TLS go ahead
2021-04-02 13:48:27 Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=qc2v-lng2.accessdomain.com' did not match expected CN=
smtp.office365.com’ [/home/busybeaver/public_html/wp-includes/PHPMailer/SMTP.php line 455]
SMTP Error: Could not connect to SMTP host.
2021-04-02 13:48:27 CLIENT -> SERVER: QUIT
2021-04-02 13:48:27
2021-04-02 13:48:27
2021-04-02 13:48:27 Connection: closed
SMTP Error: Could not connect to SMTP host.