Hi friends,
I have been sending mails to students telling them about my blog but I got tired soon enough. So, I decided to automate the process of sending mails using Python. So, I wrote a Python script to automatically send mails to students. The script uses smtplib library in Python to interact with Gmail. The task is achieved using the following main steps:
- Connecting to the Gmail Server
- Sending the SMTP "Hello" Message
- Starting TLS Encryption
- Logging in to the SMTP Server
- Logging in to the SMTP Server
- Disconnecting from the SMTP Server
You can see each of the above mentioned steps in detail from the following link.
Note: Make sure to make appropriate changes in the script before running.
nice blog.thanks.
ReplyDeletelearn python3