Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
SendMail.SetRichText
Sets the enriched text of the new email.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| SendMail | 4.3 | Yes | Yes | Yes | Yes | Yes |
MBS( "SendMail.SetRichText"; EmailID; Text ) More
Parameters
| 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 |
Result
Returns OK or error.
Description
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:
http://en.wikipedia.org/wiki/Enriched_text
Please note that most email clients do not support this nowadays.
Examples
Sets rich text:
MBS("SendMail.SetRichText"; $EmailID; "<bold><italic>Hello, world!</italic></bold>")
See also
- SendMail.CreateEmail
- SendMail.GetHTMLText
- SendMail.GetRichText
- SendMail.SetHTMLText
- SendMail.SetPlainText
- Text.ReadTextFile
Blog Entries
FileMaker Magazin
Created 3th September 2014, last changed 8th March 2018
SendMail.SetPlainText - SendMail.SetSMTPPassword
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins