• Sales:
  • smppsms.preety
  • +91 9712724242
  • mkt@smppsmshub.in
  • Support:
  • +91 9712728468
  • support@smppsmshub.in

Send SMS with ASP

ASP SMS messaging is one of the services we offer. Here we'll show you how to use our SMS gateway in ASP. Take the SMS ASP script code below to send SMS via Developers' Central. Simply register for an account, and you will automatically receive 10 FREE SMS credits to try our service.

Code to send SMS in ASP :
<%Set the values same as you use in your smppsmshub.com account
username = "user"
pwd ="password"
'Set the mobile number on which you want to send SMS
mobileno = "918488886677"
'Your Message
smsg = "Test SMS from Smppssmhub"
' You approved sender id
senderid = "WebSMS"
Dim objXmlHttpMain , sURL
Set objXmlHttpMain = Server.CreateObject("Msxml2.ServerXMLHTTP")
on error resume next
objXmlHttpMain.open "GET",sURL, False
objXmlHttpMain.setRequestHeader "Content-Type", "text/urlencoded"
'Store response
response.Write (objXmlHttpMain.responseText)