Here is Python Script which sends the HTML Email.
-
yagmail: yagmail module in python is a GMAIL/SMTP client that aims to make it as simple as possible to send emails.
-
SMTP: SMTP stands for Simple Mail Transfer Protocol. It provides a mail exchange between users on the same or different computers by initiating the server.
- pip install yagmail
- import yagmail
- Connect with SMTP server
- use send( ) function to send mail
For any queries please contact?