« Back to Product

Documentation

SMS_Send

 boolean SMS_Send (int $InstanceID, string $Number, string $Text) 

Parameters

InstanceID

ID of the device to be switched

Number

Mobile number of the recipient

Text

Text of the SMS (max. 160 characters)

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Sends from the instance with ID InstanceID a SMS with the text to the number.

Warning

It is used the sender number that was specified in the properties page.

Example

SMTP_SendMailEx(12345, "me@example.com", "Alarm!", "The heating system has broken.!");
Any questions?