Debug STMP Mail error in WP

Debug STMP Mail error in WP
mail@pastecode.io avatar
unknown
json
2 years ago
2.2 kB
6
Indexable
Never
Versions:
WordPress: 6.0.3
WordPress MS: No
PHP: 7.4.32
WP Mail SMTP: 3.6.1

Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=`s01.zwphosting.com' did not match expected CN=`27.254.146.70'
Host: 27.254.146.70
Port: 25
SMTPSecure: string(0) ""
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)

Server:
OpenSSL: OpenSSL 1.1.1q 5 Jul 2022
Apache.mod_security: No

Debug:
Email Source: WP Mail SMTP
Mailer: Other SMTP
SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=`s01.zwphosting.com' did not match expected CN=`27.254.146.70'

SMTP Debug:
2022-10-27 02:35:22 Connection: opening to 27.254.146.70:25, timeout=300, options=array()

2022-10-27 02:35:22 Connection: opened

2022-10-27 02:35:22 SERVER -> CLIENT: 220-s01.zwphosting.com ESMTP Exim 4.95 #2 Thu, 27 Oct 2022 09:35:22 +0700 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.

2022-10-27 02:35:22 CLIENT -> SERVER: EHLO bsafood.com

2022-10-27 02:35:22 SERVER -> CLIENT: 250-s01.zwphosting.com Hello bsafood.com [150.95.64.157]250-SIZE 52428800250-8BITMIME250-PIPELINING250-PIPE_CONNECT250-AUTH PLAIN LOGIN250-STARTTLS250 HELP

2022-10-27 02:35:22 CLIENT -> SERVER: STARTTLS

2022-10-27 02:35:22 SERVER -> CLIENT: 220 TLS go ahead

2022-10-27 02:35:22 Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=`s01.zwphosting.com' did not match expected CN=`27.254.146.70' [/home/zszwpho1/public_html/bsafood.com/wp-includes/PHPMailer/SMTP.php line 468]

SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=`s01.zwphosting.com' did not match expected CN=`27.254.146.70'

2022-10-27 02:35:22 CLIENT -> SERVER: QUIT

2022-10-27 02:35:23

2022-10-27 02:35:23

2022-10-27 02:35:23 Connection: closed

SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=`s01.zwphosting.com' did not match expected CN=`27.254.146.70'