Search This Blog

Monday 24 June 2013

Mass-Mailer PowerShell Script


As of 01/05/2017, this blog will not be updated or maintained

Today a colleague asked me to write a script to send out a email to a large group of people but have the phrase “Dear <person’s name”>” in the beginning of email body.

I quickly wrote the script. Here are the steps you need to take before executing it:



1. Zip and place the Mass-Mailer folder somewhere on your computer. There are 3 files in the folder:


2. In Mass-Mailer.ps1 file, modify the highlighted section ( and remove the “<” and “>”brackets):

3. Open recipientsList.txt and enter recipients name and emails, one recipient per line with format Name;Email (i.e. John Smith;John.Smith@xxx.com)


4. Write the email in EmailBody.txt

5. Execute Mass-Mailer.PS1

The email is sent to each recipient individually. It looks like:


Download script here.

Hope that this post was helpful.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.