Sends an SMS containing the specified text to the specified telephone number (see screenshot below).
Note the following points:
•The recipient's number and the SMS text are specified using XPath expressions.
•The recipient's number must be entered as an XPath string containing numbers. Example expression: "004311234567".
•If multiple recipients are planned, the XPath expression must be a sequence of string items, for example: ("+4311234567", "0011123456789").
•If the design is generated as an AppStore App, then you can choose whether to send the SMS silently (Send silently) or whether the end user sends the SMS, which will be opened in the device's SMS app and await the user's decision (Use SMS App). Note that, for the Send silently option to work, (i) the AppStore App will need the Send SMS privilege, and (ii) the end user's permission will be asked about whether the app may send messages.
•If the design is deployed as a MobileTogether solution, then the message is opened in the device's SMS app, and the end user is asked whether the message should be sent. This happens even if the Send silently option is selected.
•A static global variable named $MT_SMSAvailable can be used to test whether SMS services are available on the client device. Values of the variable can be true() or false().
MobileTogether provides a range of XPath extension functions that have been specifically created for use in MobileTogether designs. Some functions can be particularly useful with specific actions. For example, mt-available-languages() returns the languages in which the solution is available and could, for example, be used with the Message Box action. If a function is especially relevant to this action, it is listed below. For a full list of extension functions and their descriptions, see the topic MobileTogether Extension Functions.