- Product Manual
- Introduction
- Installation Guide
- User Guide
- Developers Guide
- Tutorials
- ASP SMS API
- PHP SMS API
- HTTP SMS API
- SQL SMS API
- C# SMS API
- SMS API functions
- login
- logout
- Send SMS message
- log
- keepalive
- SMS delivered to network
- SMS delivery report
- SMS delivery failed
- SMS received
- C# and MS SQL Server
- Registering remote objects
- C# SMS Gateway
- AJAX SMS API
- Delphi SMS API
- Cpp SMS API
- Java SMS API
- VB.NET SMS API
- Python SMS API
- Perl SMS API
- TCL/TK SMS API
- Coldfusion SMS API
- VB 6 SMS API
- Examples and Solutions
- Appendix
- SMS FAQ
- Feature list
- Commercial Information
- Search
RECOMMENDED FOR YOU:
SMS Gateway software
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android
C# SMS API
Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code
PHP SMS API
The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website
SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android
C# SMS API
Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code
PHP SMS API
The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website
SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities
Ozeki NG SMS Gateway
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.
Parameters 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 Example Step 1. - Create the event handling function: void myDeliveredToNetworkHandler(string messageID, DateTime deliveryTime) { 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. |
More information
- C# SMS API
- C# and MS SQL Server
- C# SMS API - login method
- C# SMS API - logout
- C# SMS API - Send SMS message
- C# SMS API - log
- C# SMS API - keepalive
- C# SMS API - SMS delivered to network
- C# SMS API - SMS delivery report
- C# SMS API - SMS delivery failed
- C# SMS API - SMS received
- Run the SQL SMS example
- Feature list of the Ozeki NG SMS Gateway
- FAQ of the Ozeki NG SMS Gateway