TO email address, e.g. email@example.com.
Specify multiple email addresses by placing a space between each email address.
NOTE: If the parameter -tolist is specified, this parameter is ignored.
Other Parameters Required:
-tolist -tofriendly -watchfilenameisto
-to <first to email address> <second to email address> [...]
Example (cut-and-paste right into your batch file):
NetMailBot -to firstname.lastname@example.org -from email@example.com -server mail.domain.com -subject "test"
If you have a larger number of recipients you wish to appear in the "To:" field of the outgoing message(s), consider using -tolist instead of typing them all on the command line.
If you have a "really large" number of recipients, stored perhaps in a Microsoft Excel spreadsheet or database, consider using NetMailBot's database connectivity features to retrieve the "To:" addresseses automatically with -dbuseaddressee and other parameters. Click here for an example using Excel.
If -to is not present then you must have at least one of these: -tolist, -preview or -popreply.