- Quick start guide
- System requirements
- Features
- Technology
- Installation guide
- Mobile networks
- SMS from Application and Office
- 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
- Linux SMS gateway
- Administrators guide
- SMS Marketing Platform
- Appendix
- Training
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 - alphanumeric sender ID
An alphanumeric SMS sender ID is the text displayed as a sender number on the top o f your phone's screen when you receive an SMS. This text is displayed instead of a mobile phone number in an SMS messages. Brand names and company names are often used as alphanumeric sender IDs.
To set an alphanumeric SMS sender ID in the C# SMS API, you need to specified the FromAddress field in the SMS message class before you send the sms using the client.send command.
When can I use an alphanumeric sender ID in an SMS?
Alphanumeric sender ID can be used if an SMS is sent over an IP SMS connection in Ozeki SMS Gateway. The following connections can be used to send an alphanumeric sender ID in your SMS: SMPP client connection, an UCP/EMI SMS connection, a CIMD2 SMS connection or a HTTP SMS API or REST SMS API connection.
Can I use an alphanumeric sender ID in Android?
Android phones can receive SMS with alphanumeric sender IDs, but you cannot send SMS messages from them with an alphanumeric sender ID. Even if you have an Android SMS Gateway installed, alphanumeric sender IDs will not be supported.
Can I reply to an SMS if the sender ID is alphanumeric?
If the SMS from address field contains an alphanumeric sender ID, meaning the sender ID has letters, the recipient cannot send a reply to this message. Fore example in the UK, when you receive a markting messages from Domino's pizza, you cannot send "STOP" to unsubsribe from their service. You need to send the stop message to a different number, because they have used an alphanumeric sender ID when they sent the SMS from the C# sms api.
How to send an SMS with an alphanumeric sender ID in C# sms api
To send an SMS with alphanumeric sender ID from the C# sms api of Ozeki SMS Gateawy follow these steps
- Step 1: Create a new SMS message class instance in your C#/Net api class
- Step 2: Set the from address field of the SMS message to the alphanumeric sender ID
- Step 3: Send the sms by calling the client.send method
C# sms api alphanumeric sender ID example:
var msg = new OzxMessage();
msg.FromAddress = "MyBrand";
msg.ToAddress = "Hello, I would like to let you know, that the product is great";
msg.Text = "+36201234567";
Console.WriteLine("Sending message. ID: "+msg.ID);
Client.Send(msg);
What is the maximum length for an SMS alphanumeric sender ID?
The maximum number length for an alphanumeric sender is 11 characters.
This is less then the 15 digits allowed for numeric sender IDs
Alphanumeric sender ID (Letters): Maximum 11 characters
Numeric Sender ID (Digits): Maximum 15 digits
What characters are allowed in the sender ID?
The alphanumeric sender ID can conain the following characters: a-z A-Z 0-9. Sender IDs must contain at least one letter.
Upper case letter: A - Z
Lower case letters: a - z
Digits: 0 - 9
Space: " "
(Alphanumeric Sender IDs maximum length is 11 characters.)
What characters are not allowed in the sender ID?
The alphanumeric sender ID cannot contains special characters. Only small and capital letters and digits and spaces are allowed. No dashes, hyphens, dots, comas or any other characters are allowed. This limitation comes from the SMS protocol definition, so there is no way to override this limitation in the C#/.Net SMS api.
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 report successful
- C# SMS API - delivery failed report
- C# SMS API how to use short code as sender ID
- C# SMS API text message class