Support » Plugin: WP Mail SMTP by WPForms » smtp sending error

  • Resolved andygoe

    (@andygoe)


    Versions:
    WordPress: 4.8.6
    WordPress MS: No
    PHP: 7.0.33
    WP Mail SMTP: 1.4.2

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

    Server:
    OpenSSL: OpenSSL 1.0.2g 1 Mar 2016
    SMTP Debug:
    2019-08-21 14:00:45 Connection: opening to ssl://smtp.strato.de:465, timeout=300, options=array (
    )
    2019-08-21 14:00:46 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
    error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
    2019-08-21 14:00:46 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): Failed to enable crypto
    2019-08-21 14:00:46 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to ssl://smtp.strato.de:465 (Unknown error)
    2019-08-21 14:00:46 SMTP ERROR: Failed to connect to server: (0)
    2019-08-21 14:00:46 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Sanjeev Aryal

    (@sanzeeb3)

    Hi @andygoe,

    The error indicates the issue with your certificate that your web server is serving. Please contact your hosting company support to fix the certificate of a server for you. You can provide them the Debug: section of the output, it will be clear for them what to do.

    Alternatively, you can disable the certificate verification by using this custom code. You should not do this unless you have to – it’s compromising your security.

    In case it helps, here’s a tutorial on where and how to add custom codes like that: http://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/

    I hope this helps!

    Plugin Support Sanjeev Aryal

    (@sanzeeb3)

    Hi @andygoe – 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)
  • You must be logged in to reply to this topic.