Quantcast
Channel: WordPress.org Forums » [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Support
Viewing all articles
Browse latest Browse all 5161

Wp mail can not connect to smtp

$
0
0

Replies: 0

I’ve been trying to set this up but I get the can’s connect to smtp host. and the following debug
Versions:
WordPress: 5.5.1
WordPress MS: No
PHP: 7.3.21
WP Mail SMTP: 2.3.1

Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: mail.naumanejaz.com
Port: 465
SMTPSecure: ssl
SMTPAutoTLS: bool(false)
SMTPAuth: bool(true)

Server:
OpenSSL: OpenSSL 1.0.2k 26 Jan 2017
Apache.mod_security: No

Debug:
Mailer: Other SMTP
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

SMTP Debug:
2020-09-04 10:17:45 Connection: opening to ssl://mail.naumanejaz.com:465, timeout=300, options=array()

2020-09-04 10:17:45 Connection failed. Error #2: stream_socket_client(): Peer certificate CN=bahu.corpservers.net' did not match expected CN=mail.naumanejaz.com’ [/home/naumanej/public_html/wp-includes/PHPMailer/SMTP.php line 344]

2020-09-04 10:17:45 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/home/naumanej/public_html/wp-includes/PHPMailer/SMTP.php line 344]

2020-09-04 10:17:45 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://mail.naumanejaz.com:465 (Unknown error) [/home/naumanej/public_html/wp-includes/PHPMailer/SMTP.php line 344]

2020-09-04 10:17:45 SMTP ERROR: Failed to connect to server: (0)

SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting


Viewing all articles
Browse latest Browse all 5161

Trending Articles