Monday, November 18, 2024
Innovative SMS Gateway & Messaging solutions

Examples

Here some ASP VB-Script examples, intended to be used on a IIS (Internet Information Server) from Microsoft or any other application that supports ActiveX/COM-Objects.
You may change the code according to the documentation.

Simple Text SMS | Bulk SMS | Flashing SMS | Alphanumeric Originator | SMS with delivery notification | SMS with error validation | WAP-Push |

Simple Text SMS

The very first and easiest example.
Sends a simple SMS to one recipient.

<html>
<body>

<%

  '------------------------------------------------------------
  ' aspsms.com(ponent) (c) 2001 by VADIAN.NET AG
  '------------------------------------------------------------
  ' simple text example
  '------------------------------------------------------------

  Set SMS = Server.CreateObject("ASPSMS.Booster")
  SMS.Userkey = "I3QHMYKEY6E"
  SMS.Password = "mypassword"
  SMS.Originator = "0041763251527"
  SMS.MessageData = "hello dad, call me in an hour! love, cathy"
  SMS.FlashingSMS = False
  SMS.AddRecipient "0044734255533"
  SMS.SendTextSMS
  lResult = SMS.ErrorCode
  SMS.DeleteAllRecipients
  Set SMS = Nothing

%>

done.

</body>
</html>
More ASP VB-Script examples:

Simple Text SMS | Bulk SMS | Flashing SMS | Alphanumeric Originator | SMS with delivery notification | SMS with error validation | WAP-Push |

New User Registration

Click here for the ASPSMS new user registration.

Have you already registered? Log in with your user e-mail address and password.


Forgot Login Password?

Available SMS tools and interfaces for ASPSMS