Type property

This property contains the string value: the content type of email message.
The possible values are the following:
ValueMeans
"" (Default) The simple text with unspecified charset. File attachments are possible. The mail recipient's client program uses its default charset to show the text of email.
"text/plain" The simple text with specified or unspecified charset. File attachments are impossible. The mail recipient's client program uses its default charset to show the text of email, if the charset is not specified.
"text/html" The email body is HTML text with specified or unspecified charset. File attachments are impossible. The mail recipient's client program uses its default charset to show the text of email, if the charset is not specified.
"multipart/mixed" The email body consists of several different parts. File attachments are possible. The text parts of email may have different content types and charsets
The value of this property can be changed only if mail body is empty.

Example

mail.From = "myemail@email.address.com"
mail.To = "john@email.address.com"
mail.Subject = "The confirmation message"
mail.Type = "text/html"
mail.AddText "<BODY><H2>Your request has been processed</H2></BODY>"
mail.Send