"The World's most reliable SMS gateway software!"
Tel.: 00 36 52 532 731
Overview Quick start Download Manual How to buy FAQ Contact Us
OZEKI NG SMS Gateway - Product Guide

keepalive Contents | SearchSMS delivery report

Home > Product Manual > Developers Guide > C Sharp SMS API > SMS API functions > SMS delivered to network

SMS Gateway SMS Gateway Home

  Product Manual
  SMS technology
  Installation Guide
  User Guide
  Developers Guide
  C Sharp SMS API
  SMS API functions
  Send SMS message
  SMS delivered to network
  SMS delivery report
  SMS delivery failed
  SMS received
  C sharp and MS SQL Server
  Registering remote objects
  C Sharp SMS Gateway
  Delphi SMS API
  Java SMS API
  Python SMS API
  Perl SMS API
  Coldfusion SMS API
  Examples and Solutions
  Feature list
  Commercial Information
  Cookie policy

Automated phone calls?
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. It can be used for:

Phone calls from SQL
Phone calls from HTTP
Voice and SMS applications

Callcenter developers
If you are working on telephone solutions, please check out the Ozeki VoIP SIP SDK.
It can be used to create VoIP client and server software.

Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.

C# SMS API - onMessageDeliveredToNetwork

This event is invoked by the SMS Gateway when the SMS is accepted by the network for delivery. If you have a slow service provider connection (for example you use a GSM Modem) and you are sending a lot of messages Ozeki NG will put the messages into a message queue called outbox until there is capacity available for sending. As soon as service provider capacity becomes available the message is sent and the onMessageDelivedToNetwork event is invoked

To handle this event, the following delegate type is used:

public delegate void DeliveryEventHandler(string messageID, DateTime deliveryTime);

And the following event is accessed:

public event DeliveryEventHandler onMessageDeliveredToNetwork;

     Name Description
void onMessageDeliveredToNetwork( string messageID, DateTime deliveryTime); Create a function with this header and attach it to the onMessageDelivedToNetwork event to receive notifications about message delivery events.


messageID - The message id that was returned by the SMS Gateway when you have posted the message for sending using the sendMessage method.

deliveryTime - The timestamp that marks the occurence of the event


Step 1. - Create the event handling function:

   void myDeliveredToNetworkHandler(string messageID, DateTime
     console.writeln("The message is delivered");
Step 2. - Attach this event to the SMSClient object:

   mySMSClient.onMessageDeliveredToNetwork += ServerEventSink.wrap(myDeliveredToNetworkHandler);
Hint: Notice the ServerEventSink.wrap method, that is used to attach the event. This wrapper is used to work around an error that can happen when asynchronous callbacks are invoked in .NET remoting.

Dig deeper!
People who read this also read...

Next page: SMS delivery report

Ozeki Cookie Policy
Ozeki Informatics Ltd uses cookies to provide you the best experience on this website. The further use of the website will be considered as an agreement to the use of cookies. For more information read this website.

Cookies are enabled You are browsing the optimized version of this website. For more information read this website.

Copyright © 2000 - 2015 Ozeki Informatics Ltd.
All rights reserved

Software PBX for Windows | VoIP SDK   |   Legal information   |   Privacy policy   |   Terms of use
Please, address your inquiries to info@ozekisms.com