composeSMS

Sends an SMS text to one or more phone numbers.

Syntax

ui.Interface.frontCall("mobile", "composeSMS",
  [ recipients, content ],
  [ result ] )

Usage

The "composeSMS" front call sends an SMS text to one or more phone numbers.

Consider using global phone numbers with a + plus sign, as described in [RFC3966].

The returned result string can take one of the following values:
  • "ok": The SMS was send.
  • "cancel": The SMS was canceled.
  • "failed": The SMS could not be sent.

Error -6333 is raised, if there is no permission to compose an SMS on the mobile phone.

Example

DEFINE result STRING
CALL ui.Interface.frontCall("mobile", "composeSMS",
     ["+332781211,+339956789", "This is the SMS text"],
     [result])