有哪些技术可用于发送短信? [英] What kind of technologies are available for sending text messages?

查看:47
本文介绍了有哪些技术可用于发送短信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑向订阅用户列表定期发送自动短信.使用过 Windows Mobile 设备后,我可以使用紧凑的 .Net 框架 + 连接到 USB 的设备轻松实现这一点,并通过它发送消息.我想探索其他解决方案,例如拥有服务器或类似的东西来做到这一点.我只是不知道这样的系统涉及什么.

I'm looking into sending regular automated text-messages to a list of subscribed users. Having played with Windows Mobile devices, I could easily implement this using the compact .Net framework + a device hooked up to usb and send the messages through this. I would like to explore other solutions like having a server or something similar to do this. I just have no idea what is involved in such a system.

推荐答案

这实际上完全取决于您打算发送多少条短信,以及消息准时到达(以及实际到达)的重要性.

It really all depends on how many text messages you intend to send and how critical it is that the message arrives on time (and, actually arrives).

>

短信聚合器

要获得更大的容量和良好的可靠性,您需要使用 SMS 聚合器.这些聚合器具有 Web 服务 API(或 SMPP),您可以使用它们来发送消息并查明您的消息是否随时间传送.Air2Web、mBlox 等与我有过合作经验的聚合器示例.

For larger volume and good reliability, you will want to go with an SMS aggregator. These aggregators have web service API's (or SMPP) that you can use to send your message and find out whether your message was delivered over time. Some examples of aggregators with whom I have experience are Air2Web, mBlox, etc.

与聚合器合作的好处在于,它们可以指导您完成发送有效消息所需的操作.例如,如果您想要自己的独特短代码,他们可以与运营商一起浏览流程以确保该短代码的安全.

The nice thing about working with an aggregator is that they can guide you through what it takes to send effective messages. For example, if you want your own, distinct, shortcode they can navigate the process with the carriers to secure that shortcode.

他们还可以确保您遵守有关使用 SMS 的任何规则.如果您不尊重 SMS 的使用,并且仅在您开始使用聚合器时同意的范围内使用 SMS,运营商将直接关闭您.如果您越界,他们会建立聚合器关系以防止任何服务中断.

They can also make sure that you are in compliance with any rules regarding using SMS. Carriers will flat shut you off if you don't respect the use of SMS and only use SMS within the bounds of what you agreed to when you started to use the aggregator. If you overstep your bounds, they have the aggregator relationships to prevent any service interruptions.

您需要为每条消息付费,并且可能需要支付基准服务费.如果这取决于您的音量.

You'll pay per message and may have a baseline service fee. All if this is determined by your volume.

如果您想要针对少量已知地址的不可靠、低租金的解决方案,您可以使用 SMTP 到 SMS 的解决方案.在这种情况下,您只需找出收件人的移动提供商并使用其移动提供商的电子邮件方案发送消息.一个例子是 7705551212@cellcompany.com.

If you want an unreliable, low-rent solution to a low number of known addresses, you can use an SMTP to SMS solution. In this case you simply find out the mobile provider for the recipient and use their mobile provider's e-mail scheme to send the message. An example of this is 7705551212@cellcompany.com.

在这种情况下,您发送消息后它消失了,您希望它到达那里.你真的不知道它是否成功.此外,一些提供商会限制消息通过其 SMTP 传入 SMS 网关的方式,以限制 SMS 垃圾邮件.

In this scenario, you send the message and it is gone and you hope that it gets there. You really don't know if it is making it. Also, some providers limit how messages come in via their SMTP to SMS gateway to limit SMS spam.

但是,该场景是几乎所有编程语言中最容易使用的场景.关于如何发送电子邮件的 C# 示例有一百万个,这种方式也不例外.

But, that scenario is the very easiest to use from virtually any programming language. There are a million C# examples of how to send e-mail and this way would be no different.

在您收到大量消息之前,这是最具成本效益的解决方案(即免费).当您开始做太多这样的事情时,运营商可能会在他们发现您通过他们的 SMTP 向 SMS 网关发送大量消息时介入.

This is the most cost-effective solution (i.e. free) until you get a large volume of messages. When you start doing too much of this, the carriers might step in when they find that you are sending a ton of messages through their SMTP to SMS gateway.

在许多情况下,您必须确保收件人已正确选择加入您的服务.如果您的文本要面向非常多的人群,这只是一个大问题.

In many cases you have to make sure that recipients have properly opted-in to your service. This is only a big deal if your texts are going to a really large population.

您需要记住短信很短(保持在 140 到 160 个字符以内).当您编写程序时,您需要将其放入其中,否则您可能会不小心发送多部分消息.

You'll want to remember that text messages are short (keep it to less than 140 to 160 characters). When you program things you'll want to bake that in or you might accidentally send multipart messages.

不要忘记,您需要确保收件人意识到他们可能需要为收到的短信付费.在无限文本计划的世界中,这越来越不值得关注.

Don't forget that you will want to make sure that your recipients realize they might have to pay for the incoming text messages. In a world of unlimited text plans this is less and less of a concern.

这篇关于有哪些技术可用于发送短信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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