gmail not allow send mail from python smtplib code example
Example: smtplib not sending email
Go to this link and select Turn On
https://www.google.com/settings/security/lesssecureapps
Go to this link and select Turn On
https://www.google.com/settings/security/lesssecureapps