-
For the mail HTML edit mail.html before start the program.
-
For the attachments add all of the attachments to the attachments folder before start the program.
-
Add all the receivers to mail_list.txt file. Add a new line for every single address.
-
When you start it you have to give your mail address as an input.
-
After the mail address we need Application Password Here is the tutorial
-
After you create it give as an input to program.
For using another mail service you just have to edit host
and port
from the init()
function. For example
server = smtplib.SMTP ('host.address.com', 587)