Warning: stream_socket_enable_crypto(): Peer certificate CN=`uk.mthservers.com’
-
The [email protected] inbox is setup using Office365.
When I fill out any of the contact forms on the website and hit Submit, they do not send. The WP Mail SMTP settings are correct. I am using:
From Email: [email protected]
SMPT Host: smtp.office365.com
SMTP Port: 587
Encryption: TLS
Authentication: On
SMPT Username: [email protected]
SMPT Password: (what ever the password is)When I click on the Email Test tab and send a test email, I get the following error message:
There was a problem while sending a test email. Related debugging output is shown below:
Versions:
WordPress: 4.9.2
WordPress MS: No
PHP: 5.6.33
WP Mail SMTP: 1.2.2Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: smtp.office365.com
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)Server:
OpenSSL: Yes
Apache.mod_security: No
SMTP Debug:
2018-02-01 10:20:05 Connection: opening to smtp.office365.com:587, timeout=300, options=array (
)
2018-02-01 10:20:05 Connection: opened
2018-02-01 10:20:05 SERVER -> CLIENT: 220-uk.mthservers.com ESMTP Exim 4.89_1 #1 Thu, 01 Feb 2018 10:20:05 +0000
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
2018-02-01 10:20:05 CLIENT -> SERVER: EHLO https://www.guardiansupport.co.uk
2018-02-01 10:20:05 SERVER -> CLIENT: 250-uk.mthservers.com Hello https://www.guardiansupport.co.uk [5.101.138.188]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
2018-02-01 10:20:05 CLIENT -> SERVER: STARTTLS
2018-02-01 10:20:05 SERVER -> CLIENT: 220 TLS go aheadWarning: stream_socket_enable_crypto(): Peer certificate CN=
uk.mthservers.com' did not match expected CN=
smtp.office365.com’ in /home/guardian/public_html/wp-includes/class-smtp.php on line 3692018-02-01 10:20:05 SMTP Error: Could not connect to SMTP host.
2018-02-01 10:20:05 CLIENT -> SERVER: QUIT
2018-02-01 10:20:05 SERVER -> CLIENT: 221 uk.mthservers.com closing connection
2018-02-01 10:20:05 Connection: closed
2018-02-01 10:20:05 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/TroubleshootingCan someone please advise me with regards to what to do, thanks.
Chaz
The page I need help with: [log in to see the link]
- The topic ‘Warning: stream_socket_enable_crypto(): Peer certificate CN=`uk.mthservers.com’’ is closed to new replies.