- To send email the less security option of sender's email must be turned on.
- Enter all the details like sender's email, password, Recipient's Email and message.
- The script logs into the gmail account and then sends the message.
Open Termnial π»
Locate to the directory where python file is located π
Run the command: python script.py/python3 script.py π§
Sit back and Relax. Let the Script do the Job. β
- smtplib
- tkinter