Nothing Special   »   [go: up one dir, main page]

Skip to content

Batch send mails from your outlook / gmail account read from an excel sheet column

Notifications You must be signed in to change notification settings

harshvsthakur/gmail-and-outlook-mail-sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Send emails to all accounts in excel sheet column

Pre-requisite : Make sure third party log in is enabled on your gmail account.

Problem : I wanted to send marketing mails to a list of companies I had along with their email information on an excel sheet.

Solution:

  • This code enables to batch send emails.

  • The list of emails is read from an excel sheet column.

  • The body of the mail can be edited by editing the included mail1.txt file. The code writes what ever is in the text file as the body of the mail making entering line spaces easier.

  • Attachment can be added by editing the path. (PDF file in this example)

  • Can easily edit Subject and CC fields as per requirement.

Note:

  1. The decision to keep this as a text email is delibrate. By default outlook disables html mails and I wanted to make sure this email reaches the recipients.

  2. I believe there is a limit to the number of mails gmail can send - 500 mails per day as of 30/05/21. I only needed to send approximately 400 mails so this worked perfectly for me. There are work arounds if you have more than 500 recipients to send mails to.

About

Batch send mails from your outlook / gmail account read from an excel sheet column

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages