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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Adds a recipient.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SendMail | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
EmailID | The email reference number obtained using SendMail.CreateEmail function. | $EmailID | |
The email address of the recipient. | "test@mbsplugins.de" | ||
Name | Optional the name of the recipient. If this name contains special characters, it will be automatically encoded with UTF-8. | "John Miller" | Optional |
Returns OK or error.
Start new email and add recipients:
Set Variable [$EmailID; Value:MBS("SendMail.CreateEmail")]
Set Variable [$r; Value:MBS("SendMail.AddTO"; $EmailID; "Jens@mbsplugins.test"; "Jens Müller")]
Set Variable [$r; Value:MBS("SendMail.AddCC"; $EmailID; "John@mbsplugins.test"; "John Miller")]
Set Variable [$r; Value:MBS("SendMail.AddBCC"; $EmailID; "Bob@mbsplugins.test"; "Bob Jones")]
This function checks for a license.
Created 3th September 2014, last changed 9th September 2019