EmailMessage.BodyHTML

From Xojo Documentation

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.Text ' text area