EmailMessage.BodyPlainText

From Xojo Documentation

Revision as of 13:58, 18 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.Value