- Create your public key
- pub_key=encrypt.encrypt(pass_word)
- save pub_key to the file gmail.pub
- Replace 'sample@gmail.com' in mail.py with your own gmail address
- Run send_mail.py, here you have two choices:
$./send_mail.py
then type your password$ echo "your_password" | ./send_mail.py
for Unix-like system.
- Download as zip and extract