I found this error while i\'m trying to send an email from one Gmail account to another. How to solve this error ? Help me on it.
There were an error:
You need to set the Allow less secure apps: ON, login to google using the account desired, and go to the security page and set the Allow less secure apps
to be ON.
I have tried with all the below options none of them worked, changing the password solves the issues.
Allow less secure apps ON Passed correct user/password Tried this https://accounts.google.com/DisplayUnlockCaptcha
All are correct in my case but still getting error Username and Password not accepted.
My Gmail password didn't change for a long time, after updating the password it works.
I was not able to send email with gmail stmp from 000webhost. In the error message there was this:"Gmail returns 534-5.7.14 Please log in via your web browser". the problem was that google blocked the connection. they asked if the connection request were from me. I haved change my password and fix the problem.
You need to allow less secure apps, you can do it by click below link
https://www.google.com/settings/security/lesssecureapps
also try this one
https://accounts.google.com/DisplayUnlockCaptcha
if still not works try changing password for gmail