Plain Text Message

This example demonstrates how to send an single email with a plain text message body.
  • Requirements
    • 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 (text_body.zip 283 bytes)
    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
    1. 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.
    2. Execute the batch file by double-clicking it in "My Computer".
    3. You should receive a single email with a non-html formatted, plain text message.