Specifies a directory to watch for files to send as attachments. NetMailBot will continuously monitor the directory and until the key combination CTRL-C is pressed.
NOTE: Requires either -watchmoveto or -watchdelete to also be specified. When a file is detected in the watch directory, NetMailBot must either move it to another location or delete it after performing any other specified actions (e.g. sending it as an attachment) to avoid mistaking it for a "new" file matching the filemask the next time it checks the directory.
Other Parameters Required:
-watchdir "<path to selected watch dir>"
Example (cut-and-paste right into your batch file):
NetMailBot -watchdir "C:\Documents and Settings\reports" -watchdelete -to email@example.com -from firstname.lastname@example.org -server mail.domain.com -subject "test"