Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SendMail.AddCC
Adds a copy recipient.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SendMail | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "SendMail.AddCC"; EmailID; Email { ; Name } ) More
Parameters
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 |
Result
Returns OK or error.
Description
Adds a copy recipient.See also SendMail.AddRecipient.
You can call this in a loop several times to add as many recipients as needed.
Please make sure the email addresses are syntactically correct.
Examples
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")]
See also
- SendMail.AddBCC
- SendMail.AddRecipient
- SendMail.AddTo
- SendMail.CreateEmail
- SendMail.PrepareCURL
- WinSendMail.AddBCC
- WinSendMail.AddCC
- WinSendMail.AddRecipient
- WinSendMail.CreateEmail
Release notes
- Version 12.0
- Fixed a problem with WinSendMail.AddBCC, WinSendMail.AddCC, WinSendMail.AddRecipient, WinSendMail.AddTo not passing email when name is empty.
Example Databases
Blog Entries
- MBS Plugin Advent calendar: 21 - SendMail
- Sending email with a huge custom function
- Use Inline Graphics in Emails
- Email Script for FileMaker
- Sending emails in FileMaker with MBS Plugin
- Sending Email with FileMaker via MBS Plugin
FileMaker Magazin
This function checks for a license.
Created 3th September 2014, last changed 9th September 2019