Posted on June 2nd, 2009 by Nick.
Categories: All SMS Gateway Documentation, PHP Classes
Tags: delivery, gateway, php5, reporting, sms
PHP 5 Delivery Report Helper Class for our SMS Gateway
Class Name: ProcessDeliveryReport
This class enables you to access your delivery reports in a nice simplified way. You can search for the outcome of a message for a given number, specify the outcome and the number, download all the data for the given date or parse the reports line by line.
The constructor requires the delivery report directory that is shown in your account. To find your delivery report directory, log into your system click the menu heading “Reports” then select “Delivery Reporting”, you will see a green icon, roll over this and you can find the directory name at the bottom.
If you have sent a message greater than 160 characters you will find multiple entries for that particular number . For instance if your message was 200 characters you will find 2 reports for that number. A message is built from 160 chunks
Download the PHP 5 Delivery Report Class
Example of use
<? $reports = new ProcessDeliveryReport ( "Kt65CZMtxlIiEU328ilCBgC38" ); // your delivery report directory if ($reports->setReportDate ( "20-05-09" )) print_r ( $reports->findNumber ( "44777777777", "r" ) ); // print the array of results else echo "Not found"; ?>
Popularity: 5%
Related posts:
- Using the SMS Gateway API, Automating Delivery Report Collection
This blog post has been superseded with our website documentation Introduction If you are using the API / Gateway to send bulk SMS... - PHP 5 SMS Send Class implementing listeners on our SMS Gateway
Class Name: SendSMSNotifier This class is designed around the FREE Text Marketer SMS API, you need to sign up here... - SMS Gateway API – Specification
This blog post has been superseded with our website documentation It is recommended that you use the RESTful version of the API which has largely superseded this document... - How to integrate our SMS Gateway API into your systems
Introduction Adding SMS as a communication method to a system is often very useful, for instance you don’t have issues... - How to use an SMS Gateway
Our SMS Gateway is extremely powerful indeed. It allows companies to connect to our systems and send out messages 1... - Is there such a thing as ‘quality’ in Bulk SMS?
There are a vast number of different gateways that bulk sms service providers can use to connect to the UK...