Using NOWSMS with ASP

Using NOWSMS with ASP SearchSearch
Author Message
Anton
New member
Username: Wieb

Post Number: 1
Registered: 02-2006
Posted on Friday, February 24, 2006 - 10:48 pm:   

ASP code for using with NowSMS.
Hope this help

<html>
<head>
</head>
<body>

<%
Response.ContentType = "text/plain"

Const cURL = "http://127.0.0.1:8800/?PhoneNumber=0812222222&Text=SENDSMSTEST"

Set objXML = CreateObject("Microsoft.XMLHTTP")
objXML.Open "GET", cURL, False
objXML.Send
If Err.Number <> 0 Or objXML.Status <> 200 Then
MsgBox "XMLHTTP Failed!",vbExclamation,cVBS
WScript.Quit
End If
strXML = objXML.ResponseText
Set objXML = Nothing
%>

JUST A TEST

</body>
</html>
jab
New member
Username: Chokri

Post Number: 1
Registered: 03-2006
Posted on Friday, March 10, 2006 - 09:54 am:   

How to create my asp script so I can send sms textfrom my sql server ? Could you please send me the asp script examples to connected with this gateway ? Thank's
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5624
Registered: 10-2002
Posted on Friday, March 10, 2006 - 04:36 pm:   

jab,

I don't know how to answer your question.

You need a connection to an SMS service provider before you can send any SMS messages.

NowSMS is a type of middleware software that interfaces with SMS service providers and/or GSM modems. The script that Anton posted above is an example of a simple ASP script for submitting an SMS message via NowSMS.

-bn