swaaz / Bulk-Mailer

Send bulk mails all at once running Python Script which includes features like HTML mail, attach files and read contacts from excel.
3 stars 3 forks source link

Bulk Mailer

Send bulk mails all at once running Python Script which includes features like HTML mail, attach files and read contacts from excel.

How to use

Attach files

if you need to attach files along wih this mail then paste all the files inside Bulk-Mailer/attachments/

Contacts

create a excel sheet named contacts.xlsx and name the coloumn as mail id and store all the mail id under that column if you want to add mail id manually then replace this code snippet

# reading mail id's from excel sheet
cont = pd.read_excel("contacts.xlsx")
contacts = cont['mail id'].values  #storing all the mail id's in contacts list

with this code

contacts = ['mailid1@gmail.com', 'mailid2@gmail.com']

bugs

if you find any bugs then feel free to create issue and tag @swaaz