Gmail - SMTP Email Provider

Hello guys, I am setting up SMTP Email Provider using my Gmail, I have turned on lessecure app but still error like this:
“error”: "Invalid login: 534-5.7.14

I am sure that I use correct user name and password.
Please help me.Thank you

1 Like

Hi @hoangpvm Welcome to Auth0 Community

Seems like a common issue with gmail smtp login. Please try few suggestions from following stackoverflow threads

Even though less secure apps are allowed, it looks like Gmail’s security features are still stopping the connection. This is because Google has made security rules stricter and now apps need OAuth 2.0 authentication to connect. Because of these limits, Gmail is not the best choice for sending bulk or transactional emails.

I suggest that you switch to a more dependable SMTP Server Provider, such as SMTPmart. It has SMTP Relay Services and Dedicated SMTP Servers that make sure your emails get to their destination safely and without any problems. It’s a better way to handle your email needs because it makes sure that more of your emails get through without the problems you have with Gmail.