.Net Component

SendWapPushMsg

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 SendWapPushMsg ( StringCollection 
To, String Title, String HRef, String From )

Parameters:

To Input List of 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 This collection is populated with the send status for each recipient

Exceptions:

IntelliSMSException Error returned by the IntelliSoftware SMS gateway

C# Example:

using IntelliSoftware;

IntelliSMS objIntelliSMS = new IntelliSMS();

objIntelliSMS.AccessKey = @"Yva$ER%Uhs+UU[MzwEYe";
objIntelliSMS.SecretKey = @"F{kQ^s`wVpm!EU~Bx8yB^A$N$[l{pxJA";

StringCollection ToList = new StringCollection();
ToList.Add ( "44771012345" );

SendStatusCollection SendStatusList;

SendStatusList = objIntelliSMS.SendWapPushMsg ( 
    ToList, "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 InvalidRequest 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 DotNet Component