Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  


Checks whether we can send text.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
MessageComposer 7.3 No No No No Yes
MBS( "MessageComposer.CanSendText" )   More




Returns 1, 0 or error.


Checks whether we can send text.
Returns 1 if the user has set up the device for sending text only messages.
If the return value is 1, the client can set the recipients and body of the message.
If the return value is 0, the client may notify the user of the failure, or the client may open an SMS URL via open URL command.

This function can be called before having a composer initialized.


Check whether message can be send:

Set Variable [ $r ; Value: MBS( "MessageComposer.CanSendText" ) ]
If [ $r ≠ 1 ]
    Show Custom Dialog [ "Can't send emails." ; "This iOS device is not configured to send text messages." ]
    Exit Script [ Text Result: "failed" ]
End If

See also

Example Databases

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

MessageComposer.CanSendSubject   -   MessageComposer.Dismiss

Feedback: Report problem or ask question.

MBS FileMaker blog