Replies: 0
I am attempting to send an email from my contact page and having configured it for yahoo mail as per instructions i am getting the following error.
There was a problem while sending the test email.
Error due to unsolicited and/or bulk e-mail.
Versions:
WordPress: 5.3.2
WordPress MS: No
PHP: 7.0.33
WP Mail SMTP: 1.8.1
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP Error: Could not connect to SMTP host.
Host: smtp.mail.yahoo.com
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)
Server:
OpenSSL: OpenSSL 1.0.2t 10 Sep 2019
SMTP Debug:
2020-03-23 12:03:29 Connection: opening to smtp.mail.yahoo.com:587, timeout=300, options=array ()
2020-03-23 12:03:29 Connection: opened
2020-03-23 12:03:29 SERVER -> CLIENT: 220-box5212.bluehost.com ESMTP Exim 4.92 #2 Mon, 23 Mar 2020 06:03:29 -0600 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
2020-03-23 12:03:29 CLIENT -> SERVER: EHLO paulroybal.com
2020-03-23 12:03:29 SERVER -> CLIENT: 250-box5212.bluehost.com Hello paulroybal.com [162.241.224.209]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
2020-03-23 12:03:29 CLIENT -> SERVER: STARTTLS
2020-03-23 12:03:29 SERVER -> CLIENT: 220 TLS go ahead
2020-03-23 12:03:29 Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=*.bluehost.com' did not match expected CN=
smtp.mail.yahoo.com’ [/home2/paulroyb/public_html/wp-includes/class-smtp.php line 374]
SMTP Error: Could not connect to SMTP host.
2020-03-23 12:03:29 CLIENT -> SERVER: QUIT
2020-03-23 12:03:29
2020-03-23 12:03:29
2020-03-23 12:03:29 Connection: closed
SMTP Error: Could not connect to SMTP host.
Your help is greatly appreciated.