• issue with sending out email, since last update.

    12.15.2017 : still having issue sending out email via smtp

    #0 \wp-content\plugins\wp-mail-smtp\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(150): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)
    #1 \blog\wp-content\plugins\wp-mail-smtp\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(103): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
    #2 \blog\wp-content\plugins\wp-mail-smtp\vendor\guzzlehttp\guzzle\src\H in \wp-content\plugins\wp-mail-smtp\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 187
    [13-Dec-2017 16:46:39 UTC] PHP Fatal error: Uncaught exception ‘GuzzleHttp\Exception\RequestException’ with message ‘cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)’ in \wp-content\plugins\wp-mail-smtp\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:187

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    It seems you were sending from a local site, using something like WAMP.

    Anyway, in WP Mail SMTP v1.1.0 we improved the way such errors are processed, and at least they are not blocking the page load now.

    Related to this: https://github.com/awesomemotive/wp-mail-smtp/issues/76

    Thread Starter rafael.nieves72

    (@puertoblack2003)

    Don’t use wamp.It was working before any recent upgrades.

    This is the recent error:

    Versions:
    WordPress: 4.9.1
    WordPress MS: No
    PHP: 5.6.32
    WP Mail SMTP: 1.1.0

    PHPMailer:
    Mailer: smtp
    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)

    SMTP Debug:
    2017-12-20 05:07:12 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array (
    )
    2017-12-20 05:07:12 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
    2017-12-20 05:07:12 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): Failed to enable crypto
    2017-12-20 05:07:12 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error)
    2017-12-20 05:07:12 SMTP ERROR: Failed to connect to server: (0)
    2017-12-20 05:07:12 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    I had removed your app, and installed WP Mail SMTP Plugin by Mail Bank So i decided to install your app again in the hope to resolve the issue. The ironic thing is both apps running side by side your app works and sends out test email.Immediately that i deactivate the other email app the error pops up as above.

    Plugin Author Slava Abakumov

    (@slaffik)

    Please try using the new option “Auto TLS” and turn it off. From the logs, I see it’s on, and that can cause an issue on certain server configurations. Make sure that you don’t have a code snippet somewhere that modifies this value SMTPAutoTLS and turns it on.

    If that doesn’t help – use this snippet https://gist.github.com/slaFFik/c1d7d4249f47da7195fb973109952090 – it will disable SSL verification, that is failed while sending an email. But it’s better to ask your host to properly configure it (you can copy them just the content of SMTP Debug output).
    Put it into the functions.php of your (child-)theme, or in a separate functional plugin, or use this tutorial.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘smtp port issues’ is closed to new replies.