views:

1698

answers:

6
+1  Q: 

SMS Library in C#

I need to develop an application that sends SMS to the users that are interested to get the updates about the website.

I am looking for Library in C# which is useful to integrate with my application. The Library can be GSM Modem dependent or free service which i can make use of it.

Please can anyone suggest the library or SMS gateway which can be integrated with C# application.

+3  A: 

Have you tried using the System.Net.Mail functions to send mail to the email corresponding to the phone number?

e.g. [email protected]

(List of email domains here: http://www.tech-recipes.com/rx/939/sms_email_cingular_nextel_sprint_tmobile_verizon_virgin/)

EDIT: even bigger list here http://en.wikipedia.org/wiki/SMS_gateway

NickAldwin
Prasad
100 rep says you end up taking this route
Chris McCall
You could always ask the user for the name of their carrier. I believe this is why most places offering SMS services ask for it.
NickAldwin
So frigging easy and useful. brb spamming millions of numbers.
Will
A: 

Judging from your comments, I'd say leasing a SMS gateway is the easier option. I don't have any experience with USA gateway providers, but from the ones I've worked with, I can say that they are all fairly simple. Most of good ones has .Net APIs ready for you, so you essentially just call SendSMS(string phonenumber, string message) on them. If they don't have any .Net APIs they ussually have webservices ready for you, which is a 1-click integration into Visual Studio.

A simple google search came up with quite a few providers :)

http://www.google.dk/search?hl=da&q=sms+gateway+usa&meta=&aq=f&oq=

cwap
A: 
  1. Sending SMS is no longer free, ofcourse all ISPs dont want their customers to get spammed heavily if it would be free !!

  2. If you want to send sms from your website within your .net code, then you can try clickatell.com, because anyway on webserver you cant really connect a cellphone unless you can get a chance to get into datacenter and setup your own hardware.

Akash Kava
The Client is ready to have the GSM Modem of their own, through which the application can send SMS. Are there any libraries that i can use to send through hardware(GSM Modem)
Prasad
Most GSM modems have AT command sets that can send SMS
kenny
A: 

If you want to send a lot of SMS messages then a gateway and a bundle deal is by far the cheapest way to go - you generally just send an email to the gateway with the users number in the subject line. If you want something more flexible (but not as cheap) then try Email to SMS

mikej
+1  A: 

view the c# sms article on Codeglobe it really helps

here is the link http://codeglobe.blogspot.com/2009/02/sending-sms-in-cnet-using-gsm-modem-and.html

have a nice day

A: 

Use Gammu, this is a console application you can use it in any type of application, launch the application capture the output then process it, already i had done in my c# project. Gammu has capablity to connecting to any type of gsm modem

JKS