Gmail SMTP stopped working

What application are you using?
3.4.0.8

I was successfully using gmail SMTP for over a year and it just stopped working with no changes to the site.

; Default method to send emails
; Available options: sendmail, smtp, log, phpmailer
default = smtp

; Path to the sendmail, -bs argument is for using SMTP protocol
sendmail_path = “/usr/sbin/sendmail -bs”

; Use SMTP for sending mail instead of mail()
smtp = On

; SMTP server settings
smtp_server = smtp.gmail.com
smtp_port = 587

; Enable SMTP authentication
; Supported smtp_auth: ssl, tls (see PHPMailer SMTPSecure)
; smtp_auth = tls
smtp_username = “email”
smtp_password = “app specific password”

Yes I am using the app specific password as required. I also tried generating a new password and that did not change the issue.

I was able to switch the SMTP to another service and it is working so Google seems to be the issue. I am using Google Workspace.

Anyone know what’s going on?

Need to use smtp_auth = tls (in case it is commented)
; SMTP server settings
smtp_server = smtp.gmail.com
smtp_port = 587

Hope that uncomment will solve the issue.

thanks

smtp_auth = tls

Thank you for your reply. I just attempted this and it did not correct the issue.

My config for SMTP for GMAIL is:

smtp_server = smtp.gmail.com
smtp_port = 465
smtp_auth = ssl

Hope that help!

Unfortunately, this did not work either.

the setting its look like this

smtp_server = smtp.gmail.com
smtp_port = 465
smtp_auth = ssl

email : youremail@gmail.com
passs: yourapppassword (NOT A GMAIL PASSWORD)

This configuration does not work.

Have you try your smtp setting using https://www.gmass.co/smtp-test ..?