...
applyColStyleToCell | true |
---|---|
heading | 0 |
columnTypes | s,s,s,s |
multiple | false |
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
enableSorting | false |
...
Syntax
...
sendSMS(senderName, phone, text)
...
Package
...
Alias
...
Pkg Usage
Description
Excerpt | ||
---|---|---|
| ||
Sends an SMS using the ENMS service or some other provider. |
Sends an SMS using the ENMS service or some other provider. See the Configuration manual for more details and supported providers. Returns 'false' if sending failed.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
senderName
...
String
...
Yes
...
The sender name can be either a sequence of maximum 11 characters or a phone number and must not contain spaces.
...
phone
...
String
...
Yes
...
MSISDN of the destination.
...
text
...
String
...
Yes
...
Text.
Return Type
Boolean
Returns 'true' if the message was sent successfully or 'false' if an error occurred.
Example
Code Block | ||
---|---|---|
| ||
sendSMS("KEPLER","+40123456789","Hello world!"); |
Note |
---|
See the Configuration manual for more details and supported providers. Returns 'false' if sending failed. More about the configuration can be found at SMS Sender configuration section. |
See also
Filter by label (Content by label) | ||||
---|---|---|---|---|
showLabels | false | |||
max | 25 | |||
showSpace | false | |||
cql | label = "system_routine" and space = currentSpace ( ) | labels | array_routines||
Include Page | ||||
|