How to fix
-
There was a problem while sending a test email. Related debugging output is shown below:
Versions:
WordPress: 4.9.2
WordPress MS: No
PHP: 5.6.33
WP Mail SMTP: 1.2.4Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: mail.xxxxxx.com.br
Port: 587
SMTPSecure: string(0) “”
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)Server:
OpenSSL: Yes
SMTP Debug:
2018-01-30 14:39:45 Connection: opening to mail.xxxxxx.com.br:587, timeout=300, options=array ( )
2018-01-30 14:39:45 Connection: opened 2018-01-30 14:39:45 SERVER -> CLIENT: 220-cloud.xxxxxx.com.br ESMTP Exim 4.89_1 #1 Tue, 30 Jan 2018 09:39:45 -0500 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
2018-01-30 14:39:45 CLIENT -> SERVER: EHLO https://www.xxxxx.com.br
2018-01-30 14:39:45 SERVER -> CLIENT: 250-cloud.xxxxxxxx.com.br Hello https://www.xxxxx.com.br [187.108.203.6] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP 2018-01-30 14:39:45 CLIENT -> SERVER: STARTTLS 2018-01-30 14:39:45 SERVER -> CLIENT: 220 TLS go ahead <br /> <b>Warning</b>: stream_socket_enable_crypto(): Peer certificate CN=cloud.escolaedti.com.br' did not match expected CN=
mail.xxxxxx.com.br’ in <b>/home/xxxxxxxx/public_html/wp-includes/class-smtp.php</b> on line <b>369</b><br />
2018-01-30 14:39:45 SMTP Error: Could not connect to SMTP host.
2018-01-30 14:39:45 CLIENT -> SERVER: QUIT
2018-01-30 14:39:45 SERVER -> CLIENT: 221 cloud.xxxxxx.com.br closing connection
2018-01-30 14:39:45 Connection: closed
2018-01-30 14:39:45 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Please copy only the content of the error debug message above, identified with an orange left border, into the support forum topic if you experience any issues.I fix:
To fix this problem, I needed to contact the hosting company and change the mail.xxxxx configuration to cloud.xxxx so anyone who has this problem just solves it that way.
The plugin works properly, but unfortunately I found the @slaffik somewhat coarse in its way of expressing itself.
- The topic ‘How to fix’ is closed to new replies.