|
|
|
Multiple Recipients
This example demonstrates how to send an single email to more than one recipient.
- Working knowledge of creating and editing a batch file.
Example Download
A working example can be downloaded, so that you can follow along with the example:
Click Here (multiple_recipients.zip < 1KB)
The downloadable example is a zip file that contains one file:
- send_email.bat - The batch file that will instruct NetMailBot to send the
email message.
Instructions for Download and Installation
- Download the example zip file and save it to your hard drive
- Create a directory on your C drive named "tmp"
- Unzip all of the files in the example zip file into the newly created directory c:\tmp.
Steps
- Open Notepad and edit the batch file send_email.bat.
Change the values of the parameters -to, -from, and -server to your own email address and your
mail server.
- Note the -to paramter has two email addresses following it.
You can easily add more email addresses, that the email will be sent to.
- Execute the batch file by double-clicking it in "My Computer".
- Each recipient specified with the -to parameter
should receive and email message.
|
|
|