AddText

Appends the text to the body of email message

AddText vText[,vContentType][,vCharset]

Parameters

vText
The text string to append
vContentType
Optional. The string specifying content type of text, for example, "text/plain" or "text/html". The default value is "text/plain". The parameter works only if the Type property of email is set to "multipart/mixed".
vCharset
Optional. The charset of text. See the Charset property for details. The parameter works only if the Type property of email is set to "multipart/mixed".

Notes

The AddText method is a recommended way to modify the body of email message. You can use the AddText and AttachFile methods in any combinations.

Example

mail.From = "myemail@email.address.com"
mail.To = "john@that.address.com"
mail.Subject = "The weekly report"
mail.AddText "Total hits:"
mail.Send