There are times where you want to send a bunch of emails to multiple people using a template.
This repo gives you an example of how you can send multiple mails with the same context, and modify some messages depend on the user you are sending to.
- data2text.py - Script that writes csv to text file for sending message.
- sending.py - Sends mails using mail_list data.
- Modifications of python files are required.
- specified for Gmail.
- Python 3.
- Edit the template script at
source/script.txt
. - Modify
source/name.csv
for data. - Modify
data2text.py
to write the template in your desired format. - Modify
sending.py
.
python data2text.py
python sending.py
MIT