|
|
||||||
Sending SMS basics using ASP class
RoutoMessaging provides you with sms gateway integration tools as ready-made scripts available to help you managing connection to our SMS gateway over your chosen programming language. These scripts as developer solution all work with the HTTP application. Join us now and get 10 SMS to test our SMS Gateway service.
Use the ASP Language code sample bellow to send sms trough RoutoMessaging SMS Gateway. Register for an HTTP API account and you will immediately receive 10 test messages to try our service.
Send SMS with ASP Language:
<%
' creating object
set Sms = Server.CreateObject("RoutoTelecom.Sender")
' setting parameters
Sms.Username = "your_username"
Sms.Password = "your_password"
Sms.MobileNo = "44791232321"
Sms.SMSType = "SMS"
Sms.Message = "Test Message"
' optional parameters
Sms.Owner = "4479987654321"
' these two parameters are required for delivery report request
Sms.Mess_id = "1dadas"
Sms.Delivery = "1"
' sending SMS and printing result
SmsResult = Sms.Send
Response.Write SmsResult
set Sms = Nothing
%>
' creating object
set Sms = Server.CreateObject("RoutoTelecom.Sender")
' setting parameters
Sms.Username = "your_username"
Sms.Password = "your_password"
Sms.MobileNo = "44791232321"
Sms.SMSType = "SMS"
Sms.Message = "Test Message"
' optional parameters
Sms.Owner = "4479987654321"
' these two parameters are required for delivery report request
Sms.Mess_id = "1dadas"
Sms.Delivery = "1"
' sending SMS and printing result
SmsResult = Sms.Send
Response.Write SmsResult
set Sms = Nothing
%>
© 2010 Routo Telecommunications Ltd.
RoutoMessaging ® 2010.






