how to send an sms using vs2003 - c#

im doing a application through which i want to send an sms.im having a gsm enabled modem.can anyone give me an idea or please send me some links to lookup on it.
we dont have sql, not using asp.net.we need to do it in c#

These two articles are result of a quick google search. Hope this helps
How to send SMS messages from C# using an SQL database
Sending SMS using .NET through a Web service

How To Send and Receive SMS using GSM Modem might be a good start.
More info here: google

Related

Sending sms using C# over bluetooth

Can I send sms messages to an android device from .net C# application via bluetooth if it is yes then please guide me how to do it?
regards
Gammu/Wammu is one of the most popular libraries there, that support communicationg to lots of different phones over various protocols including Bluetooth.
You can use it to transmit SMS over bluetooth to your phone (depending on the model - see http://wammu.eu/phones/), to send the SMS.
You can also read SMS from your phone using it if required.
libGammu has C library (http://wammu.eu/docs/manual/c/), but I am not sure you can execute C code directly from C#
Hopefully it gives you at least a nod in the right direction.

How to use C# to connect to Exchange Server via RPC Over HTTPs

We have application implemented in WinForm. Now Customer requests to add new feature - Mail Function. That one i have to connect to customer mail server (Exchange Server) to send marketing email. They are using RPC Over HTTPS with Outlook Client to connect to Exchange Server. They asked me to refer this link http://www.msexchange.org/tutorials/outlookrpchttp.html
That all I know. When they asked, I even don't know what is RPC Over HTTPS. But after I did searching on Internet I understand a bit now. I really need a code sample for this problem.
Please advise me.
Thank you all a lot.
Regards,
What are you using to send messages now?
If you are using the Outlook Object Model or Extended MAPI to send using an existing Outlook profile, there is nothing you need to do - that will all happen under the hood.

SMS Service in asp.net web application using GSM Modem

I am developing a web application in asp.net in which i want to send sms on mobile phones using GSM Modem. For this purpose I need some help or API for sending sms. If anyone have such experience in this field then kindly share with me and provide me some tutorial links or personal help.
Thanks in advance
Regards
I've used:
GSMComm
And the commercial product:
MessagingToolkit
Both worked reasonably well.
Use an SMS gateway software which will provide you an HTTP interface for communicating with the SMS carrier medium. For the applications it is easier to interact using the application layer protocols like HTTP instead of going into the details of the SMS protocols. Refer to the following post for more details. https://stackoverflow.com/a/8034756/676803

sms applcation via C# and sms gateway

I suppose to develop sms application(basically send\receive) using c# 4.0.In this i wish to use NOKIA 6630 phone as the GSM moderm.i have two problems here.
1)could any one tell me a better free sms gateway for this?
2)is nokia 6630 have gsm mordem?.
i m heavily appreciated with your answers.
Not sure what do you mean by free sms gateway here when you are using your phone.
6630 has a modem. So you can use it. If you can have PC suite (or Ovi suite) in your pc, you should visit these links:
http://www.emant.com/index.php?tid=681002
http://www.forum.nokia.com/info/sw.nokia.com/id/bd896b31-92ba-4624-aa9d-ebf732e7cc0d/Nokia_PC_Suite_Connectivity_API_1_1.html
If you do not want PC Suite and want to develop stand alone application, you need to send sms using AT command. You need to use the SerialPort class for this.
In order to use your phone as a GSM Modem connect to it as if you are connecting to a Serial Port. (There are drivers which adapt USB to Serial Port. Your phone drivers might do this).
Once you manage to connect to it you can send commands such as AT+CNMI (to receive) and AT+CMGS (to send).
You might want to connect via hyperterminal to try it out first before you program it.
A good tutorial is here.
You have one good choice to install one sms Gateway for eg. NowSMS gateway to send or receive messages. Its good one and all the related help for installation and configuration is given here http://www.nowsms.com/doc/installing-nowsms
But one problem you had while using this gateway for receiving messages you need to change your mobile phone as not supported this feature for nowsms gateway.

Is it possible Connecting and sending message through GSM modem using asp.net?

I ve developed a c# winforms application for sending sms by using this article of Sending sms using GSM It works pretty well... Now i want to send sms using GSM communication (ie) a mobile phone connected to PC and i have detect it and send sms using it in asp.net.....
Is it possible Connecting and sending message through GSM modem using asp.net?
Of course you can! The only point is that, as ASP.NET is a server side programming, the GSM modem will have to be connected to the server running the app. Even, your already developed code can be reused. Put that code as an assembly with public interface to get the functionalities. Include it in the ASP.NET app and you can send SMS.
There should be no difference if your app is a regular console/winforms app or whether it's an ASP.NET app.
You would just want to be a bit more security-conscious if anyone on the internet is able to connect to your website and send messages...
Yes. You could create a Windows service that contains the logic for accessing the GSM modem and sending SMS messages. This service can then be access from your ASP.NET web application.
There are lots of articles out there on running a WCF service as a Windows service, here's one on MSDN, Hosting and Consuming WCF Services.
But on second thought, setting up a service may be overkill here. You could use your library from within your app just as fine.
You can do it as mentioned by Kangkan in his answer. You will need to connect your modem to the server which is less feasible and very much less recommended to do so. The best option you can have is to subscribe to a third-party SMS gateway and send SMS through their HTTP apis. There are many such providers available that provide this kindaa service. Just google them and you'll find the one that best suits your needs.

Categories

Resources