Example for Twilio SMS Send

require "twilio-php-master/Services/Twilio.php";

//should be available in your twilio dashboard
$AccountSid = "AC0715xxxxxxxxxxxxxxxxxxxx";
$AuthToken = "4973yyyyyyyyyyyyyyyyyyyyyyy";

$client = new Services_Twilio($AccountSid, $AuthToken);

$message = $client->account->messages->create(array(
"From" => "+123456789", //should be twilio SMS enabled number
"To" => "+9988766555", //valid target number with +
"Body" => "test message",

echo "Sent message {$message->sid}";

PERCUMA! Konsultasi TAKAFUL untuk:
- perlindungan hayat, kecacatan, penyakit kritikal atau kemalangan
- menabung untuk pendidikan anak dengan perlindungan sepanjang hayat
- medical card
Klik di sini dan dapatkan slot rundingan SEKARANG!

Leave a Reply

Your email address will not be published. Required fields are marked *