-
You must have an gmail account.
- Read python smtp Document.
-
Go to this website to enable less secure app. you might be thinking that why should I need to click 'less secure my app' cause this authentication only for to log in you gmail to send mail.
-
Now just fill up your email id and password and send mail to any one and anywhere.
-
If you're not able to log in, your're getting some
log in error
so be cure your gmail id and password is correct. -
Now your're facing any kind of problem, error so just visit this page, click continue.
-
Still not work? Go here to read some documentation.