Send bulk mails all at once running Python Script which includes features like HTML mail, attach files and read contacts from excel.
- clone this repo
$ git clone https://github.com/swaaz/Bulk-Mailer.git
- change directory
$ cd Bulk-Mailer
- click on this link and turn this option on as shown below
- open any editor of your choice and edit main.py replace mailid and password
mailid = "enter mail-id"
password = "password"
if you need to attach files along wih this mail then paste all the files inside Bulk-Mailer/attachments/
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']
if you find any bugs then feel free to create issue and tag @swaaz