This code helps automate the process of sending mail to large audience.It takes email addresses stored in the CSV file.
Modules required are os
, email.mime
, smtplib
, pandas
.
These are listed in requirements.txt
. USe the below command to install these dependencies.
pip install requirements.txt
- Update the
from_addr
andpd.read_csv("filepath")
- Assign
email
with your email-id &password
with your e-mail password. - Run script