SharingService.SetEmailRecipients
---------------------------------

Sets email recipients list for next share.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SharingService](component_SharingService.md) | [10.3](newinversion103.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "SharingService.SetEmailRecipients"; Recipients ) 

**MBS**( **"SharingService.SetEmailRecipients";** /\* Sets email recipients list for next share. \*/  
**$Recipients**) /\* List of email addresses.e.g. "test@tester.test¶other@other.test" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Recipients | List of email addresses. | "test@tester.test¶other@other.test" |

### Result

Returns OK or error.

### Description

Sets email recipients list for next share.  
This is cleared when the [SharingService.ShareItems](SharingServiceShareItems.md) function is called and the recipients passed with the request.  
### Examples

Set Email subject and recipients:

 Set Variable \[ $r ; Value: MBS ( "[SharingService.SetEmailSubject](SharingServiceSetEmailSubject.md)"; "Hello World" )\]  
Set Variable \[ $r ; Value: MBS ( "[SharingService.SetEmailSubject](SharingServiceSetEmailSubject.md)"; "test@tester.test¶other@other.test")\]  
### See also

- [SharingService.GetEmailRecipients](SharingServiceGetEmailRecipients.md)
- [SharingService.SetEmailSubject](SharingServiceSetEmailSubject.md)
- [SharingService.ShareItems](SharingServiceShareItems.md)
- [SharingService.ShareValues](SharingServiceShareValues.md)

### Example Databases

- [Mac only/Sharing Services](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/Sharing%20Services.shtml#2ScriptAnchor_)

### Blog Entries

- [Create an email in Apple Mail from FileMaker](https://www.mbsplugins.de/archive/2025-06-02/Create_an_email_in_Apple_Mail_/monkeybreadsoftware_blog_filemaker)
- [What is new in the MBS FileMaker Plugin Version 10.3](https://www.mbsplugins.de/archive/2020-07-31/What_is_new_in_the_MBS_FileMak/monkeybreadsoftware_blog_filemaker)
- [Using Sharing Services in MacOS with FileMaker](https://www.mbsplugins.de/archive/2020-06-29/Using_Sharing_Services_in_MacO/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 27th June 2020 , last changed 25th February 2026

  
[SharingService.ServicesForItems](SharingServiceServicesForItems.md) - [SharingService.SetEmailSubject](SharingServiceSetEmailSubject.md)

[HTML Version](SharingServiceSetEmailRecipients.shtml)