Skip to content

A simple way to send mass emails with rich HTML formatting through Microsoft Outlook via an Excel workbook and Python.

License

Notifications You must be signed in to change notification settings

yylemon9527/python-outlook-mail-merge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-outlook-mail-merge

This project allows you send mass emails with rich HTML formatting through Microsoft Outlook via an Excel workbook and Python.

Getting Started

You will need to install the libaries pypiwin32 (win32com.client) and pandas libraries to get this project running on your local machine.

pip install pypiwin32
pip install pandas

Running the Script

Create an Excel workbook with the column headers 'Email Address', 'Subject', and 'HTML Email Body'. Insert the email addresses, subject lines, and HTML email bodies in the respective cells under the column headers.

Replace the code in the following line of the python script with the file directory to your Excel workbook:

file = pd.ExcelFile('Insert directory of Excel file containing list of email addresses you plan to send') 

License

See the LICENSE file for license rights and limitations (MIT).

About

A simple way to send mass emails with rich HTML formatting through Microsoft Outlook via an Excel workbook and Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%