Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets the enriched text of the new email.

Component Version macOS Windows Linux Server iOS SDK
SendMail 4.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SendMail.SetRichText"; EmailID; Text )   More


Parameter Description Example
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

Blog Entries

This function checks for a license.

Created 3th September 2014, last changed 8th March 2018

SendMail.SetPlainText - SendMail.SetSMTPPassword