Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 873 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 873 Bytes

Mail Merge

This is a simple code to send personalised emails to people using SMTP in Python. There are some add-ons available on Gmail but most of them are paid. I have created my own mail merge for ease of use.

Before using this, pease make sure:

  1. Email ID and Password for the email through which you want to send the emails are in a file called credentials separated by a new line character.

For e.g.:

[email protected]
sample_password

  1. The file rcpt contains the records of the recipients. The format is: Name{tab space}Recipient ID.

For e.g.,

Sample_Name1\[email protected]
Sample_Name2\[email protected]

(Tip: If your records are on excel or Google sheets and there are two separate columns for Name and Recipient Email ID, you can directly copy paste the records onto rcpt, they will get pasted with the tab space.)