tags:

views:

299

answers:

6

How can I make my application send SMS using C#? My current configuration sends E-mail alerts but SMS alerts are better suited for my purpose. Any way I can do that for free/paid?

+5  A: 

You need an SMS provider. One such provider is clickatell.com who I have bought in bulk from before. They have a good service, and an extensive API. You have to pay for the SMS, but like everything in life, the better quality stuff costs more. I've found them reliable and their phone support is good.

There are a few free ones out there, but they are obviously going to be heavily restricted and finding one that allows use for commercial products would be hard to find. You also have to be careful with user data, free ones may auto sign your numbers on for marketting etc, so make sure your users are aware of that if that's the route you wish to take.

Just a disclaimer that I have no affiliation with Clickatell, and there are lots more options out there, but beware of resellers who provide sub par service at inflated prices.

Tom Gullen
+1  A: 

We have been using Essendex for a while now and it works well and pretty reliable.

theburningmonk
+1  A: 

without a SMS sending gateway it is not possible. you need a services provider who provide you a services to sending sms see here a aticle http://www.developershome.com/sms/howToChooseSMSGateway.asp

steven spielberg
+1  A: 

If this is for a small application the you don't need to pay for a gateway. Assuming that you know the provider, you can just use this list of SMS transit providers. For the most part, the big players offer it but they may have some limitations for number of texts per day. It works very well - you just have to send an email to: [email protected].

Radu
+1  A: 

Second vote for ClickATell for fast, flexible, simultaneous SMS delivery (and full tracking of SMS message delivery status).

An alternative is that you could use a USB/serial GSM modem (WaveCom) or cell phone and send SMS's via the venerable 'AT' command set. For serial-based SMS, there are quite a few .NET component sets, to make it easier. One such component set is TOxygenSMS. Going the serial route means each SMS takes about 5 seconds and must be sent in series.

I have used both with great success. Use a SMS gateway if you have Internet access and a GSM modem in other cases.

Keith Blows
+1  A: 

I have written a C# library for Twilio that lets you send SMS in two lines of code.

Note that while I now work at Twilio, I released this library prior to working here.

John Sheehan