> I am anitha ganesan. Here I have a program to send a mail using python.
> https://pastebin.com/M9hLw4Xh
> My error https://pastebin.com/pgD9gPmb can anyone explain what the error is
> and how to overcome the error.

Read this link

https://stackoverflow.com/questions/26852128/smtpauthenticationerror-when-sending-mail-using-gmail-and-python

as per https://stackoverflow.com/a/26852782

Your code looks correct. Try logging in through your browser and if
you are able to access your account come back and try your code again.
Just make sure that you have typed your username and password correct

EDIT: Google blocks 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:

Go to this link and select Turn On
https://www.google.com/settings/security/lesssecureapps



Try this and share the results.

-- 
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free E-Magazine on Free Open Source Software in Tamil : http://kaniyam.com

Get Free Tamil Ebooks for Android, iOS, Kindle, Computer :
http://FreeTamilEbooks.com
_______________________________________________
Chennaipy mailing list
Chennaipy@python.org
https://mail.python.org/mailman/listinfo/chennaipy

Reply via email to