Send SMS C#.net [closed]

2019-01-17 07:46发布

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

标签: c# .net sms
6条回答
Fickle 薄情
2楼-- · 2019-01-17 07:57

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.

查看更多
Melony?
3楼-- · 2019-01-17 08:07

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.

查看更多
小情绪 Triste *
4楼-- · 2019-01-17 08:08

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

查看更多
我只想做你的唯一
5楼-- · 2019-01-17 08:12

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.

查看更多
Root(大扎)
6楼-- · 2019-01-17 08:13

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#

查看更多
SAY GOODBYE
7楼-- · 2019-01-17 08:15

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

查看更多
登录 后发表回答