C#/.Net SMS API - short code
The C# SMS API can be used to send SMS messages with a short code sender ID. You can specify the short code in the FromAddress property of the SMS message. If an SMS is sent using a short code, the SMS Gateway will encode the number as a local digit-only number.
How to send an SMS with a short code sender ID in C# sms api
To send an SMS using a short code sender ID from the C# sms api follow these instructions:
- Create a new instance of the SMS message class (provided by the C# sms api)
- Set the from address field to the short code
- Send the sms by calling the client.send method
C# sms api short code example:
var msg = new OzxMessage();
msg.FromAddress = "1234";
msg.ToAddress = "This is an SMS from a short code";
msg.Text = "+3620111111111";
Client.Send(msg);
More information
- Jak odeslat SMS z C#
- Příjem SMS v C#
- C# SMS API připojení pro odesílání SMS
- C# SMS API - odpojení od SMS brány
- C# SMS API - udržování SMS připojení
- C# SMS API - odeslání textové zprávy
- C# SMS API - SMS přijata k doručení
- C# SMS API - SMS nepřijata k doručení
- C# SMS API - odesláno
- C# SMS API - odeslání selhalo
- C# SMS API - úspěšná doručovací zpráva
- C# SMS API - zpráva o selhání doručení
- C# SMS API - alfanumerické ID odesílatele
- C# SMS API - jak použít krátký kód jako ID odesílatele
- C# SMS API třída textové zprávy