Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi friends is there any way by which we can send sms from a application to cell phone.
Posted

You should have your mobile phone with modem support or any device that has modem capabilitites when connectected to the computer. In a more technical sense the solution to this is that modem supports AT commands which are set of standard commands when sent to the (serial port on which modem is connected)modem does the appropriate fucntion and all modems understand all or a some of the AT commands.

SO you can send AT commands to your modem for sending sms etc. Check wikipedia for AT commands description.

So to do this the easy way there is a .net wrapper around this whole AT command functionality which is called GSMComm for .NET 4.0 which does all such GSM communication related tasks using AT commands.

So you get a list of functions to send sms, check phone number and other stuff with so much ease.

If you can not get to download the library, drop me a mail at mail@robinrizvi.info and I will provide you with the libaray as well as any support you need.

I have made wrapper functions around GSMCOMM that makea it a piece of cake to send sms. If you need that drop me a mail.
 
Share this answer
 
Comments
abhishek.biradar 7-Sep-11 3:08am    
Hi,

How are all the sms gateways like way2sms,160by2 etc send messages does that also use AT commands?
I also found that some people send advertisment messages which doesn't contain any number and the sender name will be in the form of TD_SOMETHING etc how are such messages sent?
Robin Rizvi 7-Sep-11 11:38am    
Now the websites like way2sms etc use bulksms packages. For instance many companies like Airtel, Reliance and many others provide sms gateway when you buy bulk sms package. What they do is "the company" provides you an email address and a standard format for the email. When you email the message and the phone number in the specified format to the mail address "the comapny" had provided you, the telecomm company would then just send that message via sms. So just doing a email is very simple vis PHP, asp.net or others. I hope I was able to provide an answer
abhishek.biradar 8-Sep-11 3:01am    
Hi thanks for the information I didn't knew about this!!
Robin Rizvi 8-Sep-11 9:06am    
It was nice doing conversation with you.

Watch my first article posted on codeproject and comment and vote:
http://www.codeproject.com/KB/HTML/speechinputapi.aspx
or http://blog.robinrizvi.info

Drop me a mail for any comments, suggestions or questions.
mail@robinrizvi.info
 
Share this answer
 
Comments
abhishek.biradar 7-Sep-11 3:04am    
Hi first link didn't work for me... i had tried it yestarday itself second one will try any get back to you.

Thank you. :)
Anuja Pawar Indore 7-Sep-11 3:11am    
I checked its working. Find this subject in article section of code project
"Sending SMS using .NET through a Web service". You will get the link
abhishek.biradar 8-Sep-11 3:01am    
thanks it worked!!
 
Share this answer
 
Comments
abhishek.biradar 7-Sep-11 3:09am    
Hi thank u will check and get back to u. :)
abhishek.biradar 8-Sep-11 3:01am    
sorry I am not familiar with VB codes :(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900