发送短信的最佳方式 [英] The best way to send SMS

查看:118
本文介绍了发送短信的最佳方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想编写一个发送短信的应用程序.应用程序(实际上是Windows Service)将在公司的单独服务器或计算机中运行.它将通过WCF托管Web服务.网络服务将具有发送SMS的功能.
我的问题:通过C#发送SMS的最佳方法是什么? usb插头上的电池插入PC和AT命令?在互联网上的某个地方使用短信门?甚至还有其他方法?
每个替代方案的优点/缺点是什么.
当涉及到运行此类系统的价格或成本时,这无关紧要.这一定是最好的解决方案.
在此先感谢您的帮助.

Hi,
I would like to write an application sending SMS. Application (in fact - Windows Service) will work in a separate server or computer at the company.It will host the web services through WCF. Network services would have functions to send SMS.
My question: What is the best way to send SMS via C#? cell at the usb plug to the PC and AT commands? Use a smsgate, somewhere in the internet? Or maybe even some other way?
What are the pros / cons of each alternative.
When it comes to price or cost of operating such a system, it does not matter. This must be the best solution.
Thanks in advance for your help.

推荐答案

最佳"始终是主观的,并且直接与您所处的条件/环境相关.您是一名程序员-用您能想到的所有方式编写并收集自己的指标.优化您的Google搜索,以便您可以收集此信息.当您在论坛上提问时,您将获得的答案将仅限于人们实际拥有的知识.而且,您仍然必须自己进行评估,以确保您"为您的代码选择了最佳"方式.如果您只是说某人的话,那您就没有在进行尽职调查或谨慎行事,这将进一步稀释您的选择.
The "best" is always subjective and directly tied to the conditions/environment in which you''re operating. You''re a programmer - write it every way you can think of and gather your own metrics. Refine your google searches so that you can gather this info. The answers you''re going to get when you ask a question on a forum are going to be restricted to the stuff people actually have experience with., and you''re STILL going to have to evaluate it yourself to be be sure you''ve selected the "best" way for your code. If you just take someone''s word for something, you''re not exercising due diligence nor an abundance of caution, which will dilute your selection even more.


这篇关于发送短信的最佳方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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