Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

gmail

firebase

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 here, here as well and also here enter image description here

enter image description here

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

like image 884
Carlo A Avatar asked Sep 05 '25 01:09

Carlo A


2 Answers

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

like image 122
DaImTo Avatar answered Sep 07 '25 16:09

DaImTo


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.

like image 23
Carlo A Avatar answered Sep 07 '25 16:09

Carlo A