C#代码将短信发送到手机 [英] C# Code to Send sms to a mobile

查看:169
本文介绍了C#代码将短信发送到手机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从我的c#win应用程序向手机发送短信息?

任何人都可以提供逻辑或代码。



提前致谢。

解决方案

看看这些:

使用.NET发送短信 [ ^ ]

如何发送和接收使用Orange SMS API的SMS [ ^ ]

通过Web服务使用.NET发送短信 [ ^ ]

如何使用GSM调制解调器发送和接收短信 [ ^ ]

发送和读取使用AT命令通过GSM调制解调器进行短信 [ ^ ]

如何使用SQL数据库从C#发送SMS消息 [ ^ ]

如何使用SQL数据库2从C#发送SMS消息 [ ^ ]

发送SM在C#.NET中使用GSM调制解调器和AT(ATtention)命令 [ ^ ]



也看看以下链接(虽然他们在VB.NET中):

使用VB.NET对SMS和EMS进行编码 [ ^ ]

VB.NET AT命令发送短信 [ ^ ]

在vb.net中使用GSM调制解调器发送短信 [ ^ ]

它与客户端语言(c#)或算法没什么关系。

一般来说,你有两种发送短信的可能性:

1)连接到您的机器的GSM设备(例如电话):请参阅: http://www.developershome。 com / sms / howToSendSMSFromPC.asp [ ^ ]。你打开COM端口并发出命令。

Pro:开始时相对便宜

Con:低发送率;可能很贵,取决于您的订阅

2)通过短信网关服务,如下所示: http://www.intellisms.co.uk/sms-gateway/developer/ [ ^ ],因为它们有一个免费的,随时可用的.net组件,用于发送消息。但是你应该根据自己的需要寻找最佳选择。


C#发送短信到手机 [ ^ ]:680万结果。长寿和繁荣(通过阅读)。欢呼声。

How to send a short text message from my c# win application to a mobile phone?
Can anyone provide me the logic or code.

Thanks in advance.

解决方案

Have a look at these:
Sending SMS using .NET[^]
How to Send and Receive SMS with the Orange SMS API[^]
Sending SMS using .NET through a Web service[^]
How To Send and Receive SMS using GSM Modem[^]
Send and Read SMS through a GSM Modem using AT Commands[^]
How to Send SMS Messages from C# using an SQL Database[^]
How to send SMS messages from C# using an SQL database2[^]
Sending SMS in C#.NET using GSM Modem and AT(ATtention) Commands[^]

Have a look at the following links too (though they are in VB.NET):
Using VB.NET to Encode SMS and EMS[^]
VB.NET AT commands to send SMS[^]
sending sms with GSM Modem in vb.net[^]


It has little to do with the client side language (c#) or algorithm.
In general you have two possibilities to send out SMS:
1) with a GSM device (phone for example) connected to your machine: see: http://www.developershome.com/sms/howToSendSMSFromPC.asp[^]. You open the COM port and send out commands.
Pro: relatively cheap at the start
Con: low sending rate; can be expensive depending on the subscription you have
2) Trough an SMS gateway service, like this one: http://www.intellisms.co.uk/sms-gateway/developer/[^], since they have a free and ready-to-use .net component for sending out messages. But you should look for the best alternative for your needs.


C# send sms to mobile[^]: 6.8 million results. Live long and prosper (through reading). Cheers.


这篇关于C#代码将短信发送到手机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆