Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix SMTP connect() failed.

Discussion in 'Misc WordPress Requests' started by josielcv, Dec 29, 2017.

  1. josielcv


    SMTP connect() failed., by josielcv

    I configured the SMTP months ago and it was working fine, for the past couple of weeks it stopped working, nothing has changed on the site or plugins, this week I tried to update the WP Mail SMTP, but still got the same error, can someone help me?

    WordPress: 4.8.4
    WordPress MS: No
    PHP: 5.6.31
    WP Mail SMTP: 1.2.1

    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    Host: smtp.letracaixacampinas.com.br
    Port: 587
    SMTPSecure: tls
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(true)
    SMTP Debug:
    2017-12-29 10:20:42 Connection: opening to smtp.letracaixacampinas.com.br:587, timeout=300, options=array (
    2017-12-29 10:20:42 Connection: opened
    2017-12-29 10:20:42 SERVER -> CLIENT: 220 proxy.email-ssl.com.br ESMTP Postfix (Debian/GNU)
    2017-12-29 10:20:42 CLIENT -> SERVER: EHLO letracaixacampinas.com.br
    2017-12-29 10:20:42 SERVER -> CLIENT: 250-proxy.email-ssl.com.br
    250-SIZE 50000000
    250 DSN
    2017-12-29 10:20:42 CLIENT -> SERVER: STARTTLS
    2017-12-29 10:20:42 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS

    Warning: stream_socket_enable_crypto(): Peer certificate CN=*.locaweb.com.br' did not match expected CN=smtp.letracaixacampinas.com.br’ in /home/storage/0/fa/18/letracaixacampinas/public_html/wp-includes/class-smtp.php on line 369

    2017-12-29 10:20:42 SMTP Error: Could not connect to SMTP host.
    2017-12-29 10:20:42 CLIENT -> SERVER: QUIT
    2017-12-29 10:20:42 SERVER -> CLIENT:
    2017-12-29 10:20:42 SMTP ERROR: QUIT command failed:
    2017-12-29 10:20:42 Connection: closed
    2017-12-29 10:20:42 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    SMTP connect() failed.

Share This Page

Monarch Social Sharing Plugin