PHP Classes

File: sendsms-group.php

Recommend this page to a friend!
  Classes of Andy Dixon  >  Textlocal  >  sendsms-group.php  >  Download  
File: sendsms-group.php
Role: Example script
Content type: text/plain
Description: Send SMS to a group
Class: Textlocal
Send SMS or MMS messages using Textlocal API
Author: By
Last change:
Date: 9 years ago
Size: 367 bytes


Class file image Download

$textlocal = new Textlocal('', 'apidemo123');

$groupId = 228839;
$sender = 'Textlocal';
$message = 'This is a group message';

try {
$result = $textlocal->sendSmsGroup($groupId, $message, $sender);
} catch (
Exception $e) {
'Error: ' . $e->getMessage());

For more information send a message to info at phpclasses dot org.