This example demonstrates how to use NetMailBot's "Friendly" names parameters to make mails more personable.
SMTP allows the specification of "friendly" names in addition to the "normal" email addresses used. For instance, we usually work with cryptic email addresses such as "email@example.com" which aren't very personable. If this example is John Walker's address, we can use NetMailBot's -tofriendly parameter to include e.g. "John Walker" in outgoing mail headers. Then when John gets an email from us, he will see that it was addressed to "John Walker" and not just the more cold and anonymous "firstname.lastname@example.org". The same idea applies to -fromfriendly.
A common mistake is to confuse the parameter specifiers for the -to and -from parameters with those for -tofriendly and -fromfriendly. -to and -from only take "normal" email addresses, thus, something like the following will not work:
-from "The Greater Greenville Country Club"
Thus, instead of the above example, we should use something like:
-from email@example.com -fromfriendly "The Greater Greenville Country Club"
Prepared Example Files
The archive contains one file:
Batch File Contents
This is the content of the batch file:
netmailbot -to firstname.lastname@example.org -tofriendly "ExclamationSoft Test Account" -from email@example.com -fromfriendly "Test-o-matic Corp." -server smtp.yourcompany.com -body "Friendly Test!"