• Resolved ozzytop

    (@ozzytop)


    Hi, I cant send emails from php default configuration, this is what log says:
    Versions:
    WordPress: 4.5
    WordPress MS: No
    PHP: 5.6.34-1+ubuntu14.04.1+deb.sury.org+1
    WP Mail SMTP: 1.2.5

    Params:
    Mailer: mail
    Constants: No

    Server:
    PHP.mail(): Yes
    Apache.mod_security: No

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • I cant send emails via Amazon SES, too.

    Versions:
    WordPress: 4.9.5
    WordPress MS: No
    PHP: 7.2.4
    WP Mail SMTP: 1.2.5

    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP connect() failed.
    Host: email-smtp.us-west-2.amazonaws.com
    Port: 587
    SMTPSecure: tls
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(true)

    Server:
    OpenSSL: Yes
    SMTP Debug:
    2018-04-12 04:08:05 Connection: opening to email-smtp.us-west-2.amazonaws.com:587, timeout=300, options=array (
    )
    2018-04-12 04:08:05 Connection: opened
    2018-04-12 04:08:06 SERVER -> CLIENT: 220 email-smtp.amazonaws.com ESMTP SimpleEmailService-xxxxxx xxxxxxxxxxxxxxxx
    2018-04-12 04:08:06 CLIENT -> SERVER: EHLO xxxxxx.com
    2018-04-12 04:08:06 SERVER -> CLIENT: 250-email-smtp.amazonaws.com
    250-8BITMIME
    250-SIZE 10485760
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250 Ok
    2018-04-12 04:08:06 CLIENT -> SERVER: STARTTLS
    2018-04-12 04:08:06 SERVER -> CLIENT: 220 Ready to start TLS
    2018-04-12 04:08:06 SMTP Error: Could not connect to SMTP host.
    2018-04-12 04:08:06 CLIENT -> SERVER: QUIT
    2018-04-12 04:08:06 SERVER -> CLIENT:
    2018-04-12 04:08:06 SMTP ERROR: QUIT command failed:
    2018-04-12 04:08:06 Connection: closed
    2018-04-12 04:08:06 SMTP connect() failed.

    It is described in nginx log as follows.
    error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in wp-includes/class-smtp.php on line 368" while reading response header from upstream

    wp-includes/class-smtp.php on line 368

            // Begin encrypted connection
            if (!stream_socket_enable_crypto(
                $this->smtp_conn,
                true,
                $crypto_method
            )) {
                return false;
            }
    
    • This reply was modified 8 years, 1 month ago by xsato.

    I am getting this error message as well:

    Versions:
    WordPress: 4.9.5
    WordPress MS: No
    PHP: 7.0.29
    WP Mail SMTP: 1.2.5

    Params:
    Mailer: mail
    Constants: No

    Server:
    PHP.mail(): Yes

    Plugin Author Slava Abakumov

    (@slaffik)

    @ceezet
    @ozzytop

    As far as I can see, you have not configured the plugin at all (Mailer: mail).

    Please visit this page: https://ww.wp.xz.cn/plugins/wp-mail-smtp/ – and read the possible mailers that you can use to send emails. There will be links to configure any of them.

    You need to switch from Default (none) mailer to anything else in plugin settings.

    Plugin Author Slava Abakumov

    (@slaffik)

    @xsato

    You have a different problem.
    Make sure that all certificates are in their places and server can access them.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error Sending Emails’ is closed to new replies.