Sending SMS text message from an ASP.NET website [closed]

浪子不回头ぞ 提交于 2019-12-17 19:00:45

问题


How can I send an SMS message to a cellular phone number from an ASP.NET web site?


回答1:


If you know the service provider you can send an email to their phone, which is then converted into an sms message. For instance with Verizon Wireless phones it would be phonenumber@vtext.com

Here is a list of popular US carriers and the email addresses they use.

If you don't you could try an SMS gateway service. I'm not sure of any because I have never tried.




回答2:


You might want to check out these articles

http://bytes.com/groups/net-c/256831-sending-sms-through-c

http://www.codeproject.com/KB/cpp/SendSmsThroughWS.aspx

http://www.emant.com/681002.page

http://www.ipipi.com/help/send_text_message_using_csharp.htm




回答3:


You will need to use an SMS service provider. They will have an API, such as a web service or some other url, which you will call to send the SMS.




回答4:


There are two ways:

1) Get a contract with the network onto which you want to send SMS. it will probably be quite expensive if your not sending alot of messages. You will need a new contract with each network provider you want to use.

2) Use a sms service provider. Which one to use depends on where you live and what networks you want to send to. we use http://www.cellsynt.com/en/ simple and reliable.

You could ofcourse use some Mail2SMS provider, but then you need to know what network the number is on. In case of sending SMS to your friend that is an option but if there could be any other number your better of using option 2 until you send tons of messages then option 1 might be cheaper.




回答5:


I have used this in the past, I think it has changed recently but I recall that it was a good and easy to use service.

http://channel9.msdn.com/shows/Inside+Out/British-Telecoms-NET-Mobile-SDK-Making-it-simple-to-code-communication/




回答6:


As most people have already said you can use a service provider, you can also get a connection to a carrier's SMSC (unlikely) another option is using a GSM modem. They usually come with an API that will allow you to among other things send SMS messages.



来源:https://stackoverflow.com/questions/1125332/sending-sms-text-message-from-an-asp-net-website

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!