PHP SDK

SendMessage

Sends an SMS message via the Internet Gateway.

SendMessage ( $to, $text, $from )

Parameters:

$to Input This is the destination phone number
$text Input The content of the text message
$from Input This is the source/sender's phone number
SendStatusArray Return

Array containing the send status for each recipient. See SendStatusArray

PHP Sample:

<?php

include 'IntelliSMS.php';

//Required php.ini settings:
// allow_url_fopen = On
// track_errors = On

$objIntelliSMS = new IntelliSMS();

$objIntelliSMS->AccessKey = "Yva$ER%Uhs+UU[MzwEYe";
$objIntelliSMS->SecretKey = "F{kQ^s`wVpm!EU~Bx8yB^A$N$[l{pxJA";

$objIntelliSMS->SendMessage ( '44771012345,44771023456', 'Hello', 'SENDER_ID' );

?>

<< Back to PHP SDK