-altbodyfile (-af)
Previous Topic  Next Topic 

Category:

 

Message Content

 

Description: 

 

Filename of file to be used as alternate text to display in email programs that do not support/display HTML messages. 

 

Optional?

 

Yes.

 

Overrides:

 

None.

 

Overridden By:

 

None.

 

Other Parameters Required:

 

-to -from -server

 

See Also:

 

-altbody -body -bodyfile

 

Usage:

 

-altbodyfile "<filename>"

 

The filename is that of a plain text message file (which, of course, may contain newlines, thus you can use this to specify more substantial plain text alternative message bodies).

 

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

 

NetMailBot -altbodyfile "C:\My Documents\plain_text_newsletter.txt" -to email@domain.com -from email@domain.com -server mail.domain.com -subject "test"  

 

Comments:

 

If you were to use them both at the same time, -altbody and -altbodyfile would behave additively.