Switch used with -watchdir to exit after files found in the watch directory are sent as attachments. Used, therefore, for "one shot" directory watches - NetMailBot will wait patiently until files (optionally matching the -filemask) appear in the directory. It will then act as directed and exit.
Other Parameters Required:
Example (cut-and-paste right into your batch file):
NetMailBot -watchexit -watchdir "C:\Documents and Settings\reports" -to firstname.lastname@example.org -from email@example.com -server mail.domain.com -subject "test"