#!/usr/bin/php
<?php

include 'inc/IntelliSMS.php';
include '/usr/local/minerva/conf/sms-intelli.conf';

array_shift($argv);     // ignore program name

$type = array_shift($argv);
$toAddr = array_shift($argv);
$message = implode(" ", $argv);

$fromAddr = "MinervaHome";
$fromAddr = "SteevsHome";

$objIntelliSMS = new IntelliSMS();

//Set you account login details below:
$objIntelliSMS->Username = $smsUsername;
$objIntelliSMS->Password = $smsPassword;
$objIntelliSMS->MaxConCatMsgs = 1;

$SendStatusCollection = $objIntelliSMS->SendMessage($toAddr, $message, $fromAddr);

?>
