EmailMessage.BodyEnriched

From Xojo Documentation

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

Supported for all project types and targets.

The body text of the email message in enriched format (RTF).

Notes

Some clients such as Mail use this format when sending styled emails. You should also include BodyPlainText for clients that cannot display BodyEnriched content.

Examples

// populate the email message
mail = New EmailMessage
mail.FromAddress = "mary@company.com"
mail.Subject = "Status Report"
mail.BodyEnriched = MailText.StyledText.RTFData