EmailMessage.BodyHTML

From Xojo Documentation

Revision as of 13:58, 18 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Supported for all project types and targets.

The body text of the email as HTML.

Notes

You should also include BodyPlainText for clients that cannot display HTML content.

Example

// populate the email message
mail = New EmailMessage
mail.FromAddress = "mary@company.com"
mail.Subject = "Status Report"
mail.BodyHTML = HtmlArea.Value ' text area