Send SMS messages from ASP
/Send messages from a WWW page/

The Ozeki SMS Server enables you to send SMS messages to any mobile device from ASP scripts. The SMS Server and the ASP scripts can be located on two different computers or they can operate on the same server. This means that more than one script can send messages at the same time.

Figure 1 - Send messages from a WWW page

To send messages from ASP, you should install the sendsms.dll file. This file is included in the SMS Server software package. The functions declared in the sendsms.dll library make it possible to place the messages onto the SMS Server's queue for sending. Look at the following example:

<HTML>
<HEAD>
  <TITLE>  Ozeki SMS ASP Demo</TITLE>
</HEAD>
<BODY>
<CENTER><H2>Send an SMS message from ASP!</H2></CENTER>
<HR>
<%
    Dim credits
    Dim ok

    Set OzekiSMSObj = Server.CreateObject("OzekiSMS.Vendor")
    credits= OzekiSMSObj.Connect("127.0.0.1","9010","myLogin")
If credits=0 Then Response.Write "Couldn't connect to OZEKI SMS Server!"
Else
Response.Write "You can send "+credits+" messages!<br>"
ok=OzekiSMSObj.sendSMS("+36209937723","This is my first SMS message")
If ok = 1 Then Response.Write "Messages sent!<br>"
End If
OzekiSMSObj.Disconnect
%>
<HR> </BODY> </HTML>

/example of sending SMS messages from ASP/

More information