EmailMessage.BodyPlainText

From Xojo Documentation

Revision as of 15:07, 26 July 2017 by PLefebvre (talk | contribs)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As String )
aEmailMessage.BodyPlainText = newStringValue
or
StringValue = aEmailMessage.BodyPlainText

Supported for all project types and targets.

The body text of the email as plain text.

Notes

Clients that do not support HTML or enriched format will display the message as plain text using the contents of this property. You should always include plain text when sending the email message.

Example

// populate the email message
mail = New emailMessage
mail.FromAddress = "mary@company.com"
mail.Subject = "Status Report"
mail.BodyPlainText = MessageField.Text