-altbody (-ab)
Previous Topic  Next Topic 

Category:

 

Message Content

 

Description: 

 

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:

 

-altbodyfile -body -bodyfile

 

Usage:

 

-altbody "<single-line plain text message>"

 

As indicated, the message cannot have any newlines ("return" characters).

 

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

 

NetMailBot -altbody "Since your email program cannot display HTML, we have provided this plain text message" -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.