Home > database >  Trigger Email Firebase Extension - Invalid login: 535-5.7.8 Username and Password not accepted
Trigger Email Firebase Extension - Invalid login: 535-5.7.8 Username and Password not accepted

Time:11-17

I'm trying to setup and explore this firebase extension Trigger Email, as per other tutorial, you can use your personal gmail account (this might be where my problem starts) rather than using mail providers such as SendGrid / Postmark.

When I tried using it, I get the following logs on my document

enter image description here

I've followed workarounds here and in other sites however the problem persist. Despite applying the following solutions I got from enter image description here

enter image description here

Does anyone have like another workaround or documentation to follow on setting up? Thanks

CodePudding user response:

The issue you are having is related to googles remove Less secure apps & your Google Account setting from our google accounts. Less secure apps was what enabled us to use our google login and passwords with their smtp server.

In order to use it now you must enable 2fa on your google account and configure an apps password. You can then use the apps password in place of your actual google password to connect to the smtp server.

Quick fix for SMTP username and password not accepted error

CodePudding user response:

Working Solution in My Case

Apparently despite being Optional on the Extension Documentation, after you've enabled 2FA and App Password (selecting others on the device works for me). You have to configure the SMTP Password field as well to match the App Password you've just generated. It now works properly.

  • Related