Could not connect to SMTP host
-
We’ve been having trouble with our email for a couple of weeks at this point. After working solidly for a couple of years, we’re now getting errors and emails are not being sent at all. Here’s the error message we are getting (*some redacted info*):
Email Source: WP Core Mailer: Other SMTP SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=
*redacted.server.net*' did not match expected CN=
smtp.*redacted*.com’SMTP server error: QUIT command failed Detail: CLIENT: 220-*redacted.server.net* ESMTP Exim 4.96.2 #2 Tue, 07 Nov 2023 12:38:41 -0500 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. CLIENT -> SERVER: EHLO https://www.apologia.com SERVER -> CLIENT: 250-*redacted.server.net* Hello https://www.apologia.com [208.109.188.105] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-PIPECONNECT 250-CHUNKING 250-STARTTLS 250 HELP CLIENT -> SERVER: STARTTLS SERVER -> CLIENT: 220 TLS go ahead Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=*redacted.server.net*' did not match expected CN=
smtp.redacted.com’ [/home/jscroggs/public_html/wp-includes/PHPMailer/SMTP.php line 476] SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=*redacted.server.net*' did not match expected CN=
smtp.redacted.com’ CLIENT -> SERVER: QUIT SERVER -> CLIENT:I’ve tried this with 3 different services and it is giving roughly the same error each time. (The only difference between the SMTP server names, as those are being changed.) I’ve tested the credentials in other services and they seem to work fine there, so I’m really stuck on figuring out what is going on here. I’ve contacted my email hosting provider and they aren’t seeing the responses come through on the server, so it seems to not be able to connect.
Any thoughts on how I can get this figured out?
The page I need help with: [log in to see the link]
- The topic ‘Could not connect to SMTP host’ is closed to new replies.