Skip to end of banner
Go to start of banner

sendSMS

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8? Click here and leave these dusty old pages behind!

Availability

This routine is available starting with SIL Engine™ 1.0.

Syntax

sendSMS(senderName, phone, text)

Description

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.

More about the configuration can be found at SMS Sender configuration section.

Parameters

Parameter name

Type

Required

Description

senderName

string

yes

Sender name.

phone

string

yes

MSISDN of the destination.

text

string

yes

Text.

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

sendSMS("KEPLER","+40123456789","Hello world!");

See also


  • No labels