Click here to Skip to main content
15,889,874 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We are using the code below to provide our users with a mobile response. However, it isn't working. Can anyone see a problem with it? Or should we take this up with the SpiceSMS people...?


Private Sub SendSMS(sMessage As String, 
  Optional sFrom As String = "rasheedsys")


Dim oXml As New MSXML2.XMLHTTP
    Call oXml.Open("POST", "http://www.spicesms.com/abc.asp?from=" 
      & sFrom & "&msg=" & sMessage & "~") 
        'Cange your vendor URL appropriately

Call oXml.setRequestHeader("Content-Type", "text/xml")
Call oXml.Send
txtLog = txtLog & "Status of: " & "http://www.spicesms.com/abc.asp?from=" 
      & sFrom & "&msg=" & sMessage & "~" & vbCrLf
  txtLog = txtLog & oXml.responseText & vbCrLf


End Sub
Posted
Updated 23-Apr-10 8:46am
v3

1 solution

nareshsuthar wrote:
Or should we take this up with the SpiceSMS people...?


Seems logical to me.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900