MailComposer.Result
-------------------

Queries result of email composer.

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

MBS( "MailComposer.Result" ) ### Parameters

none

### Result

Returns value or error.

### Description

Queries result of email composer.  
If email composer is not yet finished, the result is empty.  
Status can be Cancelled, Saved, Sent, Failed.  
### Examples

Show result in a field:

 Set Variable \[ $result ; Value: MBS ( "MailComposer.Result" ) \]   
Set Variable \[ $error ; Value: MBS ( "[MailComposer.Error](MailComposerError.md)" ) \]   
Set Field \[ PlaceHolder::Result ; $result &amp; ": " &amp; $error \]  
### See also

- [MailComposer.Error](MailComposerError.md)
- [MailComposer.Present](MailComposerPresent.md)
- [MailComposer.SetEvaluate](MailComposerSetEvaluate.md)
- [MailComposer.SetScript](MailComposerSetScript.md)
- [MessageComposer.Result](MessageComposerResult.md)
- [SocialComposer.Result](SocialComposerResult.md)
- [SocialComposer.SetEvaluate](SocialComposerSetEvaluate.md)
- [SocialComposer.SetScript](SocialComposerSetScript.md)

### Example Databases

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

This function is free to use.

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

  
[MailComposer.Present](MailComposerPresent.md) - [MailComposer.SetBCCRecipients](MailComposerSetBCCRecipients.md)

[HTML Version](MailComposerResult.shtml)