- Quick start guide
- System requirements
- Features
- Technology
- Installation guide
- Administrators guide
- Mobile networks
- User guide
- Developers guide
- SMS from SQL
- C# SMS API
- C# SMS API
- Send SMS from C#
- Receive SMS in C#
- C# sms api - connect
- C# sms api - disconnect
- C# sms api - keepalive
- C# sms api - send
- C# sms api - accepted
- C# sms api - not accepted
- C# sms api - submitted
- C# sms api - submit failed
- C# sms api - delivered
- C# sms api - delivery failed
- C# sms api - alphanumeric
- C# sms api - short code
- C# sms api - message
- C# SMS script
- C# HTTP sms
- C# SQL to SMS
- HTTP SMS API
- PHP SMS API
- VB.NET SMS API
- Programming APIs
- Service providers
- Appendix
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
C# SMS API delivery successful
SMS delivery reports are reported as C# events in the C# SMS API. In the mobile network when a mobile phone (Terminal) receive the SMS, the network returns a so called SMS delivery report to the sender. This indicates that the SMS has successfully arrived to the destination handset. Ozeki SMS gateway will process these reports, and will match them to the originally sent SMS. Once the original SMS is identified, Ozeki SMS gateway wil call an SMS delivery successful event.
The C#/.Net SMS api sms delivery successfully event
The sms delivery reports in the C# SMS api arrive in the form of SMS delivery successful events. As soon as the delivery report reaches the SMS gateway, your C# app will receive an event with the SMS messages ID, and with the delivery date.
To handle the SMS delivery report in your C# SMS API follow these steps:
- Subscribe for the OnMessageDeliverySuccess event in your C# SMS API class
- Write the C# event handler to process the SMS delivery report
- Send an SMS, and record the sms message ID.
- Process the incoming SMS delivery report in your C# sms api code
C# sms api sms delivery report example:
Client.OnMessageDeliverySuccess += Client_OnMessageDeliverySuccess;
static void Client_OnMessageDeliverySuccess(object sender, OzxArgs< string, DateTime > e)
{
Console.WriteLine("Message delivered. ID: " + e.Item1 + " Date: " + e.Item2);
}
If you read the above code example you will see, that a string and a date time is returned to the C#/.NET sms api. The string parameter is the messages id, and the deate time is the date of successful delivery.
If you use an Android SMS Gateway, you receive this event, when the android phone receives the delivery report. If your SMS Server runs on a PC, this SMS delivery success event will be triggered if the SMS delivery report corresponding to the originally sent SMS message arrives either through the connected GSM SMS modem, or through an IP sms connection, such as an SMPP sms client connection.
More information
- How to send SMS from C#
- How to receive SMS in C#
- C# SMS API connect to send SMS
- C# SMS API - disconnect from SMS gateway
- C# SMS API - keepalive SMS connection alive
- C# SMS API - send a text message
- C# SMS API - SMS accepted for deliery event
- C# SMS API - SMS not accepted for delivery
- C# SMS API - submited
- C# SMS API - submit failed
- C# SMS API - delivery failed report
- C# SMS API - alphanumeric sender ID
- C# SMS API how to use short code as sender ID
- C# SMS API text message class


