-attachment (-a)
Previous Topic  Next Topic 

Category:

 

Attachments

 

Description: 

 

Filename(s) of the attachment(s) you wish to send with the email message. 

 

Optional?

 

Yes.

 

Overrides:

 

None.

 

Overridden By:

 

None.

 

Other Parameters Required:

 

-to -from -server

 

See Also:

 

-attachmentlist

 

Usage:

 

-attachment "<filename1>" "<filename2>" [...]

 

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

 

NetMailBot -attachment "c:\temp\documents.zip" -to email@domain.com -from email@domain.com -server mail.domain.com -subject "test"

 

Comments:

 

The parameters -attachment, -attachmentlist, and -attachmentdir all act additively when used in combination, they do not override each other.