This example demonstrates how to send a single email while logging the results.
Prepared Example Files
The archive contains one file:
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
This is (with the exception of the logfile) the simplest invocation of NetMailBot possible - the email sent will have no subject nor any actual message body. The results of the invocation will be logged to a logfile in the path specified.