Skip to content

anjani-vishnoi/Python-Email-Sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Python-Email-Sender

A python demo to send email using py code as the less secured app option is not available on google follow these steps: To Solve smtplib.SMTPAuthenticationError: Username and Password not accepted Error You need to do Is Just Create App Password and then Use it and you'll be able to use SMTP. Just follow the below step to Create App Password. First of all Login into Your Gmail Account. And then Go To MyAccount Section By visiting https://myaccount.google.com Then Open Security Tab in the Sidebar . Then You can see There is Signing in to Google section and Make Sure you have turn on two steps verification if Not Then Turn On two steps verification. When You Turn On Your 2-Step Verification then you'll be able to see App Passwords option. And Now Click on App Passwords. Then select app as Mail and select your corresponding device. Then Click on Generate to create App Password. And You are Done. Now your app Password is been created and You are now able to Use this password in Your SMTP. Just Use this Password in SMTP And Now, Your error must be solved.

About

A python demo to send email using py code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages