OZEKI
Message Server 6
"The world's favourite SMS server"
info@ozeki.hu
Tel.: 00 36 52 532 731

SMS Server 6
On-line manual
Introduction
SMS technology
MMS technology
About
Product features
Installation guide
User guide
Developers guide
General information
Languages
C++ SMS
SQL SMS
HTTP SMS
Files SMS
Java SMS
PHP SMS
ASP SMS
Access to Internet Explorer
Delphi SMS
C# SMS
Access SMS
SMS FAQ
Case studies
Appendix
Search
Download
Home
Support
How to buy
Resellers
SMS Wall
IP SMS Gateway
Excel SMS
Company


On-line manual:
  Explore all the features in this on-line HTML documentation.
Product guide:
  This downloadable pdf explains all the features of Message Server 6.


Newsletter:
  Sign up to get news about product updates!

E-mail:
  You can send tech. questions in e-mail to the following address: info @ ozeki.hu


Did you know?
Ozeki offers a very high performance SMS Gateway system as well called Ozeki NG SMS Gateway. It can send and receive up to 500 SMS messages per second.

Ozeki Phone System XE VoIP PBX software is an advanced PBX built for automated voice calls and 2 way SMS messaging. It has outstanding APIs for software developers.

Ozeki VoIP SIP SDK is a great tool for software developers who wish to get involved in voip phone client or voip phone service development.

OZEKI MESSAGE SERVER - Product Guide

PHP SMS Contents | SearchAccess to Internet Explorer

Home > Developers guide > Languages > ASP SMS

SMS API for ASP developers

Ozeki Message Server can be used to send out SMS messages from an ASP application. In order to send a message, the application must perform an HTTP request. The built in webserver of the Ozeki Message Server receives the request and adds the posted SMS message to the outgoing message queue. After some time the message will be sent. (The status of the outgoing message can be queried by subsequent HTTP requests) 

To send an SMS message from ASP, you may use the following code. This example will  send a text message containing the text Hello World to the telephone number +36205222245.

ASP  EXAMPLE

http://localhost/smssend.asp

<%
    Dim strMsg
    Dim strReceiver
    Dim strUrl

    ' Retrieve the posted items from the HTTP-SMS gateway
    strUrl = "http://localhost:9333/ozeki?"
    strRequest = "login=admin";
    strRequest = strRequest+"&password=abc123";
    strRequest = strRequest+"&action=sendMessage";
    strRequest = strRequest+"&messageType=SMS:TEXT";
    strRequest = strRequest+"&recepient="+Server.URLEncode("+36205222245");
    strRequest = strRequest+"&messageData="+Server.URLEncode("Hello World");  

   strUrl = strUrl+strRequest;

    'Create InternetExplorer
    Dim WebBrowser: Set WebBrowser = CreateObject("InternetExplorer.Application")
   
    WebBrowser.Navigate strUrl

    Do While WebBrowser.busy
    Loop
    WebBrowser.Quit

    'Display message info to the user
    Response.Write("The message has been sent . " + chr(13))
%>

Binary message types such as WAP PUSH messages, Operator Logos and Ringtones can also be sent using this technique. All you have to do is change the messageType field and the messageData field to the appropriate message  content. A list of supported message types can be found on the following URL: http://www.ozeki.hu/index.php?owpn=488.





Next page: Access to Internet Explorer