Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Sets the enriched text of the new email.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SendMail 4.3 Yes Yes Yes Yes Yes

MBS( "SendMail.SetRichText"; EmailID; Text )


Parameter Description Example value
EmailID The email reference number obtained using SendMail.CreateEmail function. $EmailID
Text The rich text for the email. Will be encoded by the plugin to quoted printable UTF-8. Email::RichText


Returns OK or error.


Sets the enriched text of the new email.
See also SendMail.SetPlainText and SendMail.SetHTMLText.
You can read text content from file using the Text.ReadTextFile function.
This is not to be confused with RTF file format. Enriched text is described here:
Please note that most email clients do not support this nowadays.


Sets rich text:

MBS("SendMail.SetRichText"; $EmailID; "<bold><italic>Hello, world!</italic></bold>")

See also

SendMail.SetPlainText   -   SendMail.SetSMTPPassword

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos