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
- Hvordan man sender SMS fra C#
- Modtag SMS i C#
- C# SMS API tilslut for at sende SMS
- C# SMS API - frakobl fra SMS gateway
- C# SMS API - hold SMS-forbindelsen i live
- C# SMS API - send en tekstbesked
- C# SMS API - SMS accepteret til levering
- C# SMS API - SMS ikke accepteret til levering
- C# SMS API - indsendt
- C# SMS API - indsendelse mislykkedes
- C# SMS API - leveringsrapport succesfuld
- C# SMS API - leveringsrapport mislykkedes
- C# SMS API - alfanumerisk afsender-ID
- C# SMS API hvordan man bruger kortkode som afsender-ID
- C# SMS API tekstbesked klasse