-mimetype (-mt)
Previous Topic  Next Topic 

Category:

 

Message Content

 

Description: 

 

This overrides the automatically-set MIME content type of the message body. It does not affect any other part of the message. Examples: "text/plain" and "text/html".

 

This is a more advanced parameter. You can use this parameter in situations when you have some specially encoded content that you want to "inject" into the message sent by NetMailBot, and you want it to show up in the email client a certain way (i.e. as a certain mimetype), for example, "application/msword".

 

Optional?

 

Yes.

 

Overrides:

 

None.

 

Overridden By:

 

None.

 

Other Parameters Required:

 

-to -from -server (-bodyfile or -body)

 

See Also:

 

-htmlbody

 

Usage:

 

-mimetype "<mime type specification>"

 

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

 

NetMailBot -mimetype "text/html" -body "plain text body" -to email@domain.com -from email@domain.com -server mail.domain.com -subject "test"

 

Comments:

 

Using -htmlbody is functionally equivalent to using -mimetype "text/html" as in the above example.