SMTP ERROR: Password command failed: 534-5.7.14
Please log in via your web browser and then try again. 534 5.7.14 54 k76sm17979938yho.18 - gsmtp
A bit late, but perhaps someone will find it useful.
Links that fix the problem (you must be logged into google account):
Some explanation of what happens:
This problem can be caused by either 'less secure' applications trying to use the email account (this is according to google help, not sure how they judge what is secure and what is not) OR if you are trying to login several time in a row OR if you change countries (for example use VPN, move code to different server or actually try to login from different part of the world).
To resolve I had to: (first time)
- login to my account via web
- view recent attempts to use the account and accept suspicious access: THIS LINK
- disable the feature of blocking suspicious apps/technologies: THIS LINK
This worked the first time, but few hours later, probably because I was doing a lot of testing the problem reappeared and was not fixable using the above method. In addition I had to clear the captcha (the funny picture, which asks you to rewrite a word or a sentence when logging into any account nowadays too many times) :
- after login to my account I went HERE
- Clicked continue
Hope this helps.
谷歌SMTP pop 相关：https://support.google.com/mail/answer/7126229?visit_id=1-636385526785388139-492505572&hl=zh-Hans&rd=1