Show/Hide Toolbars

Navigation: Advanced topics > Programming topics

ASPRunnerPro32x32     ASPRunnerPro manual


Function runner_sms

Scroll Prev Next More

 

Description

 

Sends text message to specified phone number.

 

Syntax

 

runner_sms(number, message)

 

Arguments

 

number - phone number

 
message - text message

 

Return value

 

Array with the following keys:

 

success: (true or false) indicates whether sms message was sent or not.

 

error: error message in case the sms was not sent

 

Example

 

Send sms to number. This function will only work if you have Twilio settings entered under Security -> Two factor authentication

 

runner_sms("+12345678901""You verification code"CreateDictionary())