A short script to send yourself an email using Python
In order to use this with a Google email, go to the following link and turn "Allow less secure apps" ON
If you would not like to enter your email and password in every time, simply add your information to the following fields:
EMAIL_ADDRESS = "[email protected]"
PASSWORD = "password1234"
There is no need to install any additional packages, as smptlib
and getpass
are built into Python 3