Sudden gmail SMTP authentication Error

I have several customers using a gmail email server. They have been on the server for years. I have confirmed that 2 step verification login is disabled and less secure apps are enabled.


Password is the same as it has been, login has been the same as it has been. Has there been a recent change at gmail, anyone else suddenly experiencing this issue?

here is the error from the email server test on the gateway.
javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. For more information, go to
535 5.7.8 https://support.google.com/mail/?p=BadCredentials 00721157ae682-708c467f584sm1438877b3.83 - gsmtp

Looks like Google pulled support for this today?

2 Likes

Well that would explain why. Thanks!

I was eventually able to set them up with new passwords via the gmail app passwords feature.

1 Like

Alternatively, you can also setup an OAuth2 SMTP Profile. This uses Ignition's OAuth2 Client facility to acquire and maintain a valid access token for interacting with, in your case, Google Mail API.

One advantage of this is that you can more granularly control the access. For example, one of the available scopes for Gmail API is send-only--the token cannot be used to read e-mails.

Here are some references if you (or others!) wish to further explore this route:

3 Likes