SendWapPushMessage
Sends a WAP PUSH message via the Internet Gateway. WAP PUSH messages can send multimedia content, such as an Image, Wallpaper, Ringtone or a link to WAP website.
SendWapPushMessage ( $to, $text, $href, $from )
Array containing the send status for each recipient. See SendStatusArray
<?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->SendWapPushMessage ( '44771012345', 'The message text', 'http://www.intellisoftware.co.uk/images/IntelliSMS.gif', 'SENDER_ID' ); ?>
Considerations:
Our gateway will only send one SMS message per submission. Therefore a WAP PUSH message is charged at 1 credit.
An INVALID_REQUEST will result if the submitted text and href parameters would require 2 SMS messages to be sent. As a guide, the href and text parameters combined should not exceed 114 characters (assuming href starts with 'http://www.' )
<< Back to PHP SDK