Component: MessageComposer 
---------------------------

A panel for iOS to edit and send an messages.

You can send text messages (SMS) or iMessage with text and attachments.  
  
See also [MailComposer](component_MailComposer.md) functions for creating emails.

| Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|
| [7.3](newinversion73.md "First functions introduced with version 7.3.") | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

  
| Item | Details |
|:--|:--|
| [MessageComposer.AddAttachmentContainer](MessageComposerAddAttachmentContainer.md)   Adds an attachment to the email based on a container field. | iOS   7.3 |
| [MessageComposer.AddAttachmentFile](MessageComposerAddAttachmentFile.md)   Adds an attachment to the email based on a file path. | iOS   7.3 |
| [MessageComposer.AttachmentCount](MessageComposerAttachmentCount.md)   Queries number of attachments. | iOS   7.3 |
| [MessageComposer.CanSendAttachments](MessageComposerCanSendAttachments.md)   Checks whether we can send attachments. | iOS   7.3 |
| [MessageComposer.CanSendSubject](MessageComposerCanSendSubject.md)   Checks whether we can send subject. | iOS   7.3 |
| [MessageComposer.CanSendText](MessageComposerCanSendText.md)   Checks whether we can send text. | iOS   7.3 |
| [MessageComposer.Dismiss](MessageComposerDismiss.md)   Dismisses the dialog. | iOS   7.3 |
| [MessageComposer.GetEvaluate](MessageComposerGetEvaluate.md)   Queries the evaluation to run when email composer is done. | iOS   7.3 |
| [MessageComposer.GetFileName](MessageComposerGetFileName.md)   Queries the file name of the script to run when email composer is done. | iOS   7.3 |
| [MessageComposer.GetMessageBody](MessageComposerGetMessageBody.md)   Queries message body. | iOS   7.3 |
| [MessageComposer.GetRecipients](MessageComposerGetRecipients.md)   Queries list of recipients. | iOS   7.3 |
| [MessageComposer.GetScriptName](MessageComposerGetScriptName.md)   Queries the script name of the script to run when email composer is done. | iOS   7.3 |
| [MessageComposer.GetSubject](MessageComposerGetSubject.md)   Queries subject text. | iOS   7.3 |
| [MessageComposer.IsPresented](MessageComposerIsPresented.md)   Checks whether panel is displayed. | iOS   7.3 |
| [MessageComposer.New](MessageComposerNew.md)   Initializes the message composer panel. | iOS   7.3 |
| [MessageComposer.Present](MessageComposerPresent.md)   Presents the message composer view. | iOS   7.3 |
| [MessageComposer.Result](MessageComposerResult.md)   Queries result of email composer. | iOS   7.3 |
| [MessageComposer.SetEvaluate](MessageComposerSetEvaluate.md)   Sets the expression to call when composer is done. | iOS   7.3 |
| [MessageComposer.SetMessageBody](MessageComposerSetMessageBody.md)   Sets the body of the message to the specified content. | iOS   7.3 |
| [MessageComposer.SetRecipients](MessageComposerSetRecipients.md)   Defines recipients. | iOS   7.3 |
| [MessageComposer.SetScript](MessageComposerSetScript.md)   Sets the script to call when composer is done. | iOS   7.3 |
| [MessageComposer.SetSubject](MessageComposerSetSubject.md)   Sets the Subject header for the email message. | iOS   7.3 |
| [MessageComposer.disableUserAttachments](MessageComposerdisableUserAttachments.md)   Disable user attachments. | iOS   7.3 |

23 functions shown.

### Release notes

- **Version 13.2**
    - Fixed a bug in [MessageComposer](https://www.mbsplugins.eu/component_MessageComposer.shtml) functions on newer iOS versions.

### Blog Entries

- [Useful iOS functions](https://www.mbsplugins.de/archive/2025-04-28/Useful_iOS_functions/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.2pr2](https://www.mbsplugins.de/archive/2023-04-13/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [5000 Functions in MBS Plugin](https://www.mbsplugins.de/archive/2017-11-11/5000_Functions_in_MBS_Plugin/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 7.3 - Über 4800 Funktionen in einem Plugin](https://www.mbsplugins.de/archive/2017-07-18/MBS_FileMaker_Plugin_73_-_Übe/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 7.3 - More than 4800 Functions In One Plugin](https://www.mbsplugins.de/archive/2017-07-18/MBS_FileMaker_Plugin_73_-_More/monkeybreadsoftware_blog_filemaker)
- [Social Postings using MBS Plugin in FileMaker iOS SDK app](https://www.mbsplugins.de/archive/2017-06-12/Social_Postings_using_MBS_Plug/monkeybreadsoftware_blog_filemaker)
- [Send emails and messages in FileMaker iOS SDK Apps](https://www.mbsplugins.de/archive/2017-06-10/Send_emails_and_messages_in_Fi/monkeybreadsoftware_blog_filemaker)

### Example Databases

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

[HTML Version](component_MessageComposer.shtml)