Welcome page
Products
Ozeki 10
SMS
Ozeki NG SMS Gateway
Message Server 6
SMS Wall
IP SMS Gateway
Android SMS
Excel SMS
Bulk Messenger
Cluster
Developer tools
Robots
Hardware
Technology
Company



Send and receive 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.  


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. Take a 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/

 


Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Products > SMS > Message Server 6 > Developers > ASP - SMS > ASP
Legal | Privacy policy | Terms of use
Page: 148 | Login | 54.209.227.199