-zip (-zi)
Previous Topic  Next Topic 

Category:

 

Attachments

 

Description: 

 

Switch/Parameter used to compress all attachments into a .zip file as a single attachment.

 

Specify a filename after this parameter to name the attachment, otherwise, "attachment.zip" is used.

 

Works with -watchdir parameters, -attachment-attachmentdir, and -attachmentlist.

 

Optional?

 

Yes.

 

Overrides:

 

None.

 

Overridden By:

 

None.

 

Other Parameters Required:

 

-to -from -server (-attachmentdir or -attachmentlist or -watchdir; or anything else to do with attachments)  

 

See Also:

 

 None.

 

Usage:

 

-zip

 

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

 

NetMailBot -zip -attachment "C:\Documents and Settings\report.xls" -to email@domain.com -from email@domain.com -server mail.domain.com -subject "test" 

 

Comments:

 

None.