MailComposer.SetCCRecipients
----------------------------

Sets the CC header for the email message to the specified email addresses.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [MailComposer](component_MailComposer.md) | [7.3](newinversion73.md) | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "MailComposer.SetCCRecipients"; Recipients ) 

**MBS**( **"MailComposer.SetCCRecipients";** /\* Sets the CC header for the email message to the specified email addresses. \*/  
**$Recipients**) /\* List of recipients. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Recipients | List of recipients. |  |

### Result

Returns OK or error.

### Description

Sets the CC header for the email message to the specified email addresses.  
Will set the CC header for the email message. This should be called prior to display.  
Recipient addresses should be specified as per RFC5322.  
After the view has been presented to the user, this method will no longer change the value.  
### See also

- [MailComposer.GetBCCRecipients](MailComposerGetBCCRecipients.md)
- [MailComposer.GetCCRecipients](MailComposerGetCCRecipients.md)
- [MailComposer.GetTORecipients](MailComposerGetTORecipients.md)
- [MailComposer.Present](MailComposerPresent.md)
- [MailComposer.SetBCCRecipients](MailComposerSetBCCRecipients.md)
- [MailComposer.SetTORecipients](MailComposerSetTORecipients.md)
- [MessageComposer.GetRecipients](MessageComposerGetRecipients.md)
- [MessageComposer.SetRecipients](MessageComposerSetRecipients.md)

### Example Databases

- [iOS/Examples/iOS Email Sending](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/iOS/Examples/iOS%20Email%20Sending.shtml#4ScriptAnchor_)

This function is free to use.

Created 10th June 2017 , last changed 10th June 2017

  
[MailComposer.SetBCCRecipients](MailComposerSetBCCRecipients.md) - [MailComposer.SetEvaluate](MailComposerSetEvaluate.md)

[HTML Version](MailComposerSetCCRecipients.shtml)