-watchfilenameissubject (-wfis)
Previous Topic  Next Topic 

Category:

 

Attachments

 

Description: 

 

Switch used with -watchdir where the file found becomes the subject of the email message.  The file is still attached.

 

Optional?

 

Yes.

 

Overrides:

 

None.

 

Overridden By:

 

None.

 

Other Parameters Required:

 

-from -server -watchdir

 

See Also:

 

 -watchfilenameisto -watchfilenameisbody

 

Usage:

 

-watchfilenameissubject

 

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

 

NetMailBot -watchfilenameissubject -watchexit -watchdir "C:\Documents and Settings\reports" -to email@domain.com -from email@domain.com -server mail.domain.com -subject "test" 

 

Comments:

 

None.