Java SDK

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.

SendStatusCollection SendWapPushMessage ( String[] ToList, String Title, String HRef, String From ) throws IntelliSMSException

Parameters:

ToList Input String array containing destination phone numbers
Title Input Display Text for WAP PUSH message
HRef Input URL link to resource ( should start with 'http://' or 'https://' )
From Input This is the source/sender's phone number
SendStatusCollection Return

Array containing the send status for each recipient. See SendStatusCollection

Exceptions:

IntelliSMSException Error returned by the IntelliSoftware SMS gateway

Java Sample:

import IntelliSoftware.SMSGateway.SDK.IntelliSMSJavaSDK.*;

IntelliSMS objIntelliSMS = new IntelliSMS();
objIntelliSMS.Username = "MyUsername";
objIntelliSMS.Password = "MyPassword";

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 Java SDK