• Resolved ce813049

    (@ce813049)


    Versions:
    WordPress: 5.2.2
    WordPress MS: No
    PHP: 7.2.21
    WP Mail SMTP: 1.6.0

    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP Error: Could not authenticate.
    Host: smtp.gmail.com
    Port: 587
    SMTPSecure: tls
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(true)

    Server:
    OpenSSL: OpenSSL 1.0.2k 26 Jan 2017
    Apache.mod_security: No
    SMTP Debug:
    2019-09-01 22:20:34 Connection: opening to smtp.gmail.com:587, timeout=300, options=array (
    )
    2019-09-01 22:20:34 Connection: opened
    2019-09-01 22:20:34 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP a29sm16746050pfr.152 – gsmtp
    2019-09-01 22:20:34 CLIENT -> SERVER: EHLO https://www.easy4music.com
    2019-09-01 22:20:35 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2001:df1:b200:2::9]
    250-SIZE 35882577
    250-8BITMIME
    250-STARTTLS
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-CHUNKING
    250 SMTPUTF8
    2019-09-01 22:20:35 CLIENT -> SERVER: STARTTLS
    2019-09-01 22:20:35 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
    2019-09-01 22:20:35 CLIENT -> SERVER: EHLO https://www.easy4music.com
    2019-09-01 22:20:35 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2001:df1:b200:2::9]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-CHUNKING
    250 SMTPUTF8
    2019-09-01 22:20:35 CLIENT -> SERVER: AUTH LOGIN
    2019-09-01 22:20:36 SERVER -> CLIENT: 334 VXNlcm5hbWU6
    2019-09-01 22:20:36 CLIENT -> SERVER: dmlhYmFuZDAyMDVAZ21haWwuY29t
    2019-09-01 22:20:36 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
    2019-09-01 22:20:36 CLIENT -> SERVER: MDIwNXZpYWJhbmQ=
    2019-09-01 22:20:36 SERVER -> CLIENT: 534-5.7.14 Please
    534-5.7.14 log in via your web browser and then try again.
    534-5.7.14 Learn more at
    534 5.7.14 https://support.google.com/mail/answer/78754 a29sm16746050pfr.152 – gsmtp
    2019-09-01 22:20:36 SMTP ERROR: Password command failed: 534-5.7.14 Please
    534-5.7.14 log in via your web browser and then try again.
    534-5.7.14 Learn more at
    534 5.7.14 https://support.google.com/mail/answer/78754 a29sm16746050pfr.152 – gsmtp
    2019-09-01 22:20:36 SMTP Error: Could not authenticate.
    2019-09-01 22:20:36 CLIENT -> SERVER: QUIT
    2019-09-01 22:20:37 SERVER -> CLIENT: 221 2.0.0 closing connection a29sm16746050pfr.152 – gsmtp
    2019-09-01 22:20:37 Connection: closed
    2019-09-01 22:20:37 SMTP Error: Could not authenticate.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ce813049

    (@ce813049)

    Become the same problem with smtp.yandex.ru after last update. Please, help.

    —————————————
    Versions:
    WordPress: 5.2.2
    WordPress MS: No
    PHP: 7.3.6
    WP Mail SMTP: 1.6.2

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

    Server:
    OpenSSL: OpenSSL 1.0.1e 11 Feb 2013
    SMTP Debug:
    2019-09-04 09:22:04 Connection: opening to ssl://smtp.yandex.ru:465, timeout=300, options=array (
    )
    2019-09-04 09:22:04 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-09-04 09:22:04 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): Failed to enable crypto
    2019-09-04 09:22:04 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to ssl://smtp.yandex.ru:465 (Unknown error)
    2019-09-04 09:22:04 SMTP ERROR: Failed to connect to server: (0)
    2019-09-04 09:22:04 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    Hi @dzembak,

    It is not the same issue. From your error message, it 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 SSL verification by adding the 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: https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/

    I hope this helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SMTP Error: Could not authenticate’ is closed to new replies.