SendWapPushMessage ( To As String, Title As String, HRef As String, From As String ) As SendStatusCollection
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.
This is the destination phone number(s)NOTE: Separate multiple numbers by a comma
Collection containing the send status for each recipient. See SendStatusCollection
<% Set IntelliSMS = Server.CreateObject("IntelliSoftware.IntelliSMS") IntelliSMS.Username = "MyUsername" IntelliSMS.Password = "MyPassword" Set SendStatusColl = IntelliSMS.SendWapPushMessage ( _ "44771012345,44771023456", "The message text", _ "http://www.intellisoftware.co.uk/images/IntelliSMS.gif", _ "SENDER_ID" ) If SendStatusColl.OverallResult <> 1 Then Summary = "Failed, Result=" & SendStatusColl.OverallResult Else For Each Status In SendStatusColl Summary = Summary & "To=" & Status.To & _ ", MessageId=" & Status.MessageId & _ ", Result=" & Status.ResultCode & "<BR>" Next End If Response.Write Summary %>
Dim IntelliSMS As New INTELLISMSLib.IntelliSMS IntelliSMS.Username = "MyUsername" IntelliSMS.Password = "MyPassword" Dim SendStatusColl As INTELLISMSLib.SendStatusCollection Set SendStatusColl = IntelliSMS.SendWapPushMessage ( _ "44771012345,44771023456", "The message text", _ "http://www.intellisoftware.co.uk/images/IntelliSMS.gif", _ "SENDER_ID") Dim Summary As String If SendStatusColl.OverallResult <> ResultCodes.rcOK Then Summary = "Failed, Result=" & SendStatusColl.OverallResult Else Dim Status As INTELLISMSLib.SendStatus For Each Status In SendStatusColl Summary = Summary & "To=" & Status.To & _ ", MessageId=" & Status.MessageId & _ ", Status=" & Status.ResultCode & vbCrLf Next End If MsgBox Summary
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 COM Component
SMS Interfaces HTTP Interface SMTP Interface COM Component .NET Component PHP SDK Java SDK
Reply Routing
Inbound SMS
Why IntelliSMS?
Coverage
Prices
Downloads
Documents
Free Trial