While working on Gmail API and integrating it in a project using Python, I came across this error "SMTPAuthenticationError (534, '5.7.14')" whose solution was not so obvious. I found many people facing the same problem on different forums so I ended up writing a post for future reference. The exact error was:
"(534, '5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbsl\n5.7.14 ....
> Please log in via\n5.7.14 your web browser and then try again.\n5.7.14 Learn more at\n5.7.14 https://support.google.com/mail/answer/78754 g65-v6sm13547202pfg.98 - gsmtp')"
You need to check and verify following things:
STEP 1:
Recheck your username and password (I know its obvious but still you might be making some mistake while entering the password)
STEP 2:
Check if you have enabled less secure apps by navigating to:
https://www.google.com/settings/security/lesssecureapps
STEP 3 (Important):
Disabling Captcha for your Client App which is accessing the Gmail API. Using your browser, login to your Gmail Account and navigate to the link:
http://www.google.com/accounts/DisplayUnlockCaptcha
Click the continue button. You will see the following message:
"Account access enabled Please try signing in to your Google account again from your new device or application."
Its been found that google resets this setting of UnlockCaptcha if there are any changes in the Gmail Account Settings and therefore the error SMTPAuthenticationError (534, '5.7.14') occurs. You need to go through STEP 3 again so that your App can access Gmail API and send mail.
This was a wondereful post being shared. The entire content in this blog is extremely helpful for me and gave me a clear idea on the concepts.
ReplyDeletegerman classes in mulund
german language classes in mulund
german classes in mulund west
German Course in Mulund East
French Classes in Mulund
French Classes in Mulund East
French Classes in Mulund West
French Language Classes in Mulund
I discovered your this post while scanning for some related data on online journal search...Its a decent post..keep posting and upgrade the data. Buy Gmail Accounts
ReplyDeleteIt is because Google blocks gmail smtp sign-in attempts from apps which do not use modern security standards (mentioned on their support page). You can however, turn on/off this safety feature by going to the link below:
ReplyDeleteGo to this link and select Turn On
https://www.google.com/settings/security/lesssecureapps
Moreover google block an ip when you try to send a email since a unusual location, so, you can unblock in the next link
https://support.google.com/accounts/answer/6009563
and clicked in
accounts.google.com/DisplayUnlockCaptcha .
Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks 2009 Aged/Old Gmail
ReplyDeleteThey can likewise evaluate client reliability through criticism measurements or by examining aggregate examples of comparative clients. machine learning course
ReplyDeleteGreat article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information.. Buy Old Gmail Accounts
ReplyDeleteI must say, as a lot as I enjoyed reading what you had to say, I couldnt help but lose interest after a while. Its as if you had a wonderful grasp on the subject matter, but you forgot to include your readers. Perhaps you should think about this from far more than one angle. Or maybe you shouldnt generalise so considerably. Its better if you think about what others may have to say instead of just going for a gut reaction to the subject. Think about adjusting your own believed process and giving others who may read this the benefit of the doubt. Buy Gmail accounts
ReplyDeleteAwesome and interesting article. Great things you've always shared with us. Thanks. Just continue composing this kind of post. hotmail entrar direto
ReplyDeleteSo the following time you want to fax files online, do this new modern-day way of faxing.how to fax scanned documents online
ReplyDeleteThanks for Sharing This Article.It is very so much valuable content.
ReplyDeletehướng dẫn xin visa Nhật Bản online
Hồ sơ xin visa Hàn Quốc
vé máy bay đi đảo jeju hàn quốc
ve may bay di trung quoc
vé máy bay đi đài loan vietjet
Python has an easy and readable syntax and coding which makes its set-up and usage much easier. data science course in india
ReplyDeleteThank you for sharing this wonderful blog with us.
ReplyDeleteTamil romantic novels
Ramanichandran novels PDF
srikala novels PDF
Mallika manivannan novels PDF
muthulakshmi raghavan novels PDF
Infaa Alocious Novels PDF
N Seethalakshmi Novels PDF
Sashi Murali Tamil Novels