• Resolved uidb4056

    (@uidb4056)


    Hello,
    Here is the log i get when try to send test email

    Versions:
    WordPress: 5.3.2
    WordPress MS: No
    PHP: 7.3.13
    WP Mail SMTP: 1.8.1

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

    Server:
    OpenSSL: OpenSSL 1.1.1d 10 Sep 2019
    Apache.mod_security: No
    SMTP Debug:

    2020-02-23 21:02:02 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array ()

    2020-02-23 21:02:02 Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed [C:\Bitnami\wordpress-5.3.2-2\apps\wordpress\htdocs\wp-includes\class-smtp.php line 298]

    2020-02-23 21:02:02 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [C:\Bitnami\wordpress-5.3.2-2\apps\wordpress\htdocs\wp-includes\class-smtp.php line 298]

    2020-02-23 21:02:02 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) [C:\Bitnami\wordpress-5.3.2-2\apps\wordpress\htdocs\wp-includes\class-smtp.php line 298]

    2020-02-23 21:02:02 SMTP ERROR: Failed to connect to server: (0)

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @uidb4056,

    This can be the issue of the SSL certificate not accepted. Are you trying to send email from your local server? You can either get your mail server certificate or disable SSL verification. In case it helps, here’s tutorial on where and how to add custom codes like that.

    You can try with TLS on 587, and here are more details on troubleshooting the issue with Gmail SMTP.

    I hope this helps!

    Jess Quig

    (@jquigam)

    Hi @uidb4056 – We haven’t heard from you in about a week, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Mail SMTP do not send test email’ is closed to new replies.