-addrecipient (-ar)
Previous Topic  Next Topic 

Category:

 

Addressing

 

Description: 

 

Adds recipient(s) to the list specified by -to. To add multiple email addresses, separate them with spaces.

 

-addrecipient is a deprecated parameter; you can accomplish the same thing by adding more email addresses to the -to parameter. See -to for details.

 

Optional?

 

Yes.

 

Overrides:

 

None.

 

Overridden By:

 

None.

 

Other Parameters Required:

 

-to -from -server

 

See Also:

 

None.

 

Usage:

 

-addrecipient <email address1> <email address2> [...]

 

Example (cut-and-paste right into your batch file):

 

NetMailBot -addrecipient myname@email.com another@domain.com -to email@domain.com -from email@domain.com -server mail.domain.com -subject "test" 

 

The "To:" field of the mail sent in this example will contain email@domain.com, myname@email.com, and another@domain.com.

 

Comments:

 

None.