发送短信/彩信,尤其是使用 .Net w C# 的彩信
有谁知道如何使用.net框架发送彩信?有短信示例代码,但没有彩信示例代码。我的服务器上已经安装了 GPRS 调制解调器。
Does anyone know how to send an MMS message with the .net framework? Theres sample code for SMS but not MMS. I have a GPRS modem already installed on my server.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为如果不编写自己的代码来进行 SMS/MMS 编码和解码,就没有任何简单的方法可以在 .NET 中本地执行此操作。您可以尝试以下库之一:
I don't think there is any easy way to do this natively in .NET without writing your own code to do the SMS/MMS encoding and decoding. You could try one of the following libraries:
对于GPRS调制解调器,
发送短信将通过AT命令,发送彩信通过MM1协议。
如果您不想编写自己的代码,则很少有库可用于 SMS 和 MMS 发送。
来自 twit88.com 的 MessagingToolkit
Activexperts SMS 和 MMS
NowSMS
到目前为止,唯一的本机 .NET 解决方案是 messagestoolkit。其他组件也可用于 .NET,它们是 COM 组件。
For GPRS modem,
Sending SMS will be through AT commands, sending MMS is through MM1 protocol.
There are few libraries available that you can use for both SMS and MMS sending if you do not want to write your own code
MessagingToolkit from twit88.com
Activexperts SMS and MMS
NowSMS
so far the only native .NET solution is messagingtoolkit. The others can be used for .NET as well they are COM components.
此外,根据您的手机,例如诺基亚,对于选定的特定型号,可以下载一个库以通过数据线(USB/串行)与手机进行交互,并且根据提供的文档,可能会有一个 activex您可以通过
tlbimp
activex 来获取包装器并在数据线连接到它时调用方法/函数/事件。我的经验是使用相当旧的手机诺基亚 3330,并使用诺基亚套件来发送短信。这将取决于所使用的手机/GPRS 调制解调器,制造商可能不会告诉您如何使用它,因此需要进行一些尝试和错误...如果这不是您正在寻找的确切答案,抱歉...
希望这有帮助,
此致,
汤姆.
Also, depending on your mobile handset, for example, Nokia, for selected specific models, one could pull down a library to interact with the handset via data cable (USB/Serial), and depending on the supplied documentation, there may be an activex dll which you can
tlbimp
the activex to get the wrappers and invoke the methods/functions/events while the data cable is connected to it. My experience was with an rather old handset Nokia 3330, and used the Nokia suite, to send SMS.This will be dependant on the handset/GPRS modem used, the manufacturer may not tell you how to use it so a bit of trial and error will be necessary...sorry if this is not an exact answer you are looking for...
Hope this helps,
Best regards,
Tom.