Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Whether emails can be send.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MailComposer | 7.3 | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |
none
Returns 1, 0 or error.
Checks whether we can email:
Set Variable [ $r ; Value: MBS( "MailComposer.CanSendMail" ) ]
If [ $r ≠ 1 ]
Show Custom Dialog [ "Can't send emails." ; "This iOS device is not configured to send emails." ]
Exit Script [ Text Result: "failed" ]
End If
This function is free to use.
Created 10th June 2017, last changed 18th June 2017