开发者

Send SMS C#.net [closed]

开发者 https://www.devze.com 2022-12-21 19:04 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

开发者_Python百科 Improve this question

Is there any free gate way or a way that I can use to send SMS from my code.


On popular wireless carriers you can just email the number. For example AT&T:

5555555555@att.net

Just find the appropriate email servers for the number, then append it to the end of the address. Hope this helps.


You can buy a GSM modem and use C# to send AT commands to it to send sms.


there are no free SMS gateways. but they are not expesive. if you buy bulk packages prices are nice. just google "sms gateway" and pick any. they usually have webservice interface or other http interface that makes it easy to call from C#


Most SMS systems have an email interface. See http://www.tech-recipes.com/rx/939/sms_email_cingular_nextel_sprint_tmobile_verizon_virgin/

The hard part is knowing who the cell provider is for your client.


Each cell phone provider typically has email addresses that work as aliases for forwarding an email to SMS. Since I believe you have the mobile numbers, if you know the carrier you can use their domain to simply create emails that get redirected to the mobile user's SMS text messages.


The gateway is basically a service that you can call from your C# code and communicate with it over HTTP. This is why you can basically use any gateway, no matter if it is based on .NET or not. If you want to host a free one yourself, here's one for Linux.

And here's the WSDL for a service that says it can send SMS messages in the whole world. (Not tested): http://www.webservicex.com/sendsmsworld.asmx?WSDL

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号