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 5160

SMTP test mail fails with TSL option (works with SSL)

$
0
0

Replies: 0

For some reason the mail test fails if option is set to TLS (port 587), but works fine with option SSL (port 465) – all other settings are the same including authentication credentials. Also TLS connection on port 587 is working fine when using some other mail clients, i.e. Thunderbird, etc.

I can continue using SSL at port 465, but I would prefer to use TLS at 587 and I am at a loss how it can be fixed – probably there is some simple way to fix it, please advise.

Here is the failed attempt log:

Versions: WordPress: 5.5.1 WordPress MS: No PHP: 7.4.10 WP Mail SMTP: 2.4.0

Params: Mailer: smtp Constants: No ErrorInfo: SMTP Error: Could not connect to
SMTP host. Host: smtp.nuramed.ru Port: 587 SMTPSecure: tls SMTPAutoTLS:
bool(true) SMTPAuth: bool(true)

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

Debug: Mailer: Прочие SMTP SMTP Error: Could not connect to SMTP host.

SMTP Debug:

2020-09-21 02:28:26 Connection: opening to smtp.domain-name:587, timeout=300,
options=array()

2020-09-21 02:28:26 Connection: opened

2020-09-21 02:28:26 SERVER -> CLIENT: 220 thokk.from.sh

2020-09-21 02:28:26 CLIENT -> SERVER: EHLO domain-name

2020-09-21 02:28:26 SERVER -> CLIENT: 250-thokk.from.sh Hello domain-name
[x.x.x.x]250-SIZE 52428800250-8BITMIME250-AUTH PLAIN LOGIN250-STARTTLS250
HELP

2020-09-21 02:28:26 CLIENT -> SERVER: STARTTLS

2020-09-21 02:28:26 SERVER -> CLIENT: 220 TLS go ahead

2020-09-21 02:28:26 Connection failed. Error #2: stream_socket_enable_crypto():
Peer certificate CN=from.sh' did not match expected CN=smtp.domain-name’
[…/public_html/wp/wp-includes/PHPMailer/SMTP.php
line 426]

SMTP Error: Could not connect to SMTP host.

2020-09-21 02:28:26 CLIENT -> SERVER: QUIT

2020-09-21 02:28:26

2020-09-21 02:28:26

2020-09-21 02:28:26 Connection: closed

SMTP Error: Could not connect to SMTP host.


Viewing all articles
Browse latest Browse all 5160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>