Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

sendSMS(senderName, phone, text)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
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

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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
languagejs
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)
showLabelsfalse
max25
showSpacefalse
cqllabel = "system_routine" and space = currentSpace ( )
labelsarray_routines