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 email@example.com -from firstname.lastname@example.org -server mail.domain.com -subject "test"