This example demonstrates how to send a single attachment.
NOTE: You should change the email addresses in the downloadable batch file to your own email address(es) before running a test. Using your own email addresses is the easiest test case.
Prepared Example Files
The archive contains two files:
Batch File Contents
This is the content of the batch file:
netmailbot.exe -to email@example.com -from firstname.lastname@example.org -logfile "c:\tmp\log.txt" -server localhost -attachment "attach1.txt"
NOTE: You must use quotation marks around the filename specified in the -attachment parameter, as shown above.