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
- Kako poslati SMS iz C#
- Primanje SMS-a u C#
- C# SMS API povezivanje za slanje SMS-a
- C# SMS API - prekid veze s SMS pristupnikom
- C# SMS API - održavanje SMS veze aktivnom
- C# SMS API - slanje tekstualne poruke
- C# SMS API - SMS prihvaćen za isporuku
- C# SMS API - SMS nije prihvaćen za isporuku
- C# SMS API - poslano
- C# SMS API - slanje nije uspjelo
- C# SMS API - uspješno izvješće o isporuci
- C# SMS API - izvješće o neuspjeloj isporuci
- C# SMS API - alfanumerički ID pošiljatelja
- C# SMS API kako koristiti kratki broj kao ID pošiljatelja
- C# SMS API klasa tekstualne poruke