Send Newsletter to List of BCC Recipients from ODBC
Previous Topic  Next Topic 

Purpose

 

This example demonstrates how to send a Newsletter email to a list of BCC (Blind Carbon Copy) recipients from a simple text file of "Bcc:" recipeints. While the topic of this overall section is importing email addresses and other data from a database for use with NetMailBot, we wanted to include in this "Mass Mailings" topic an example that implements a mass email campaign without the use of database connectivity.

 

Prepared Example Files

 

 

The archive contains two files:

 

 

Batch File Contents

 

This is the content of the batch file:

 

NetMailBot -to test@test.com -from test@test.com -server smtp.test.com -bcclist "bcclist.txt" -subject "Here is your Monthy Newsletter" -bodyfile "Newsletter.txt" -logfile "logfile.txt" -debug 

 

Steps

 

  1. Unzip the BCCNewsletter.zip file. This will produce a directory called "BCCNewsletter". Open this directory.
  2. Open Notepad and edit the batch file "BCCNewsletter.bat". Note these important parameters used in the batch file:

 

 

  1. Invoke the batch file by double-clicking the icon or straight from the command line.
  2. Check your email account Inbox for an email containing the text newsletter body. Note that you cannot tell who the other recipients were due to the use of "Bcc:".