Replies: 0
Hi
I have updated the required SMTP settings (Mailer: Other SMTP; SMTP Host: smtp.gmail.com; SSL, Port 465, Auto TSL, Authentication on) on WordPress site and added my send email address as an alias to my Gmail account and configured Accounts & Imports -> send email in my Gmail account with the server’s SMTP details (Port 587 using TLS).
This was working till 24th october and has stopped working and now though I have set up all the details correctly, I am notified with “SMTP Error: Could not authenticate.” message when I do an Email test. Please find below the full error log.
`Versions:
WordPress: 5.3.10
WordPress MS: No
PHP: 7.4.25
WP Mail SMTP: 1.7.1
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP Error: Could not authenticate.
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:
2021-11-18 02:32:36 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array ()
2021-11-18 02:32:36 Connection: opened
2021-11-18 02:32:36 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP s14sm959132pfk.73 – gsmtp
2021-11-18 02:32:36 CLIENT -> SERVER: EHLO cpd.holmeslist.com.au
2021-11-18 02:32:36 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2400:b800:8::55]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
2021-11-18 02:32:36 CLIENT -> SERVER: AUTH LOGIN
2021-11-18 02:32:37 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2021-11-18 02:32:37 CLIENT -> SERVER: aG9sbWVzbGlzdGF1QGdtYWlsLmNvbQ==
2021-11-18 02:32:37 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2021-11-18 02:32:37 CLIENT -> SERVER: UGMzRzRiZ2pM
2021-11-18 02:32:37 SERVER -> CLIENT: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbv534-5.7.14 9sFT1mtXS0_lWyyOhpbEvpXlrr5CISA74aQRIW_WL7xG2Su3dtIeSNiEDMComH2vLa09T534-5.7.14 DGPuuPE2SsUgmZnXXd4ZXbhd5nmrUKCrw2RZq-IS7ERVyK2mVplK-Juo6VrjjMYE>534-5.7.14 Please log in via your web browser and then try again.534-5.7.14 Learn more at534 5.7.14 https://support.google.com/mail/answer/78754 s14sm959132pfk.73 – gsmtp
2021-11-18 02:32:37 SMTP ERROR: Password command failed: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbv534-5.7.14 9sFT1mtXS0_lWyyOhpbEvpXlrr5CISA74aQRIW_WL7xG2Su3dtIeSNiEDMComH2vLa09T534-5.7.14 DGPuuPE2SsUgmZnXXd4ZXbhd5nmrUKCrw2RZq-IS7ERVyK2mVplK-Juo6VrjjMYE>534-5.7.14 Please log in via your web browser and then try again.534-5.7.14 Learn more at534 5.7.14 https://support.google.com/mail/answer/78754 s14sm959132pfk.73 – gsmtp
SMTP Error: Could not authenticate.
2021-11-18 02:32:37 CLIENT -> SERVER: QUIT
2021-11-18 02:32:38 SERVER -> CLIENT: 221 2.0.0 closing connection s14sm959132pfk.73 – gsmtp
2021-11-18 02:32:38 Connection: closed
Can you please advise why I am getting the above error message and how I should correct it.
Thanks in advance.