Contact Us
+44(0) 870 231 7777
Chat
Login
Sign Up

Mobile Messaging for Software and Applications

Sales Experts available now


Example Scripts


TeleSign Mobile 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. As developers solution these scripts all work with the HTTP application interface - API. Join us now and get 10 SMS to test your implementation and our HTTPS API.


ASP PHP Perl Java C# VB.NET

ASP Example

Send SMS using ASP code. The example below demonstrates how to connect to TeleSign Mobile SMS Gateway and send SMS using ASP code.
Register for an sms account and you will immediately receive 10 test messages to try our service.



<%
' 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 = "some_mess_id"
Sms.Delivery = "1"
' sending SMS and printing result
SmsResult = Sms.Send
Response.Write SmsResult
set Sms = Nothing
%>