...
Info | ||
---|---|---|
| ||
This routine is available since starting with katl-commons 1.0. |
Syntax
...
sendSMS(senderName, phone, text)
Description
...
Excerpt |
---|
Sends an SMS using the ENMS service (an additional Kepler product) or some other provider. See the Configuration manual for more details and supported providers, as well as specifics for each. Returns false if sending failed. |
...
Info |
---|
More about the configuration can be found at SMS Sender Configuration section. |
Parameters
...
Parameter name | Type | Required | Description |
---|---|---|---|
senderName | string | yes | the sender name |
phone | string | yes | the MSISDN of the destination |
text | string | yes | the text |
...
Note |
---|
The sender name can be either a sequence of maximum 11 characters or a phone number and must not contain spaces. |
Returns
...
boolean
Returns true if the message was sent successfully or false if an error occurred.
Example
...
Code Block |
---|
sendSMS("KEPLER","+40123456789","Hello world!"); |
See
...
also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|