问题描述
美国的许多手机(移动)电话提供商都有一个用于 SMS 的电子邮件网关,允许任何人发送电子邮件,然后再发送短信.例如,要向拥有 Verizon 手机的用户发送短信,您可以向 [email protected] 发送电子邮件.
Many cell (mobile) phone providers in the USA have an email gateway for SMS that allows anyone to send an email that will in turn send a text message. For example, to send a text-message to a user who has a Verizon phone you can send an email to [email protected].
但是...这些网关的可靠性如何,可以发送的消息速率有哪些限制?在某些时候,提供商会阻止或限制服务吗?
But... how reliable are these gateways, and what limitations are there on the rate of messages that can be sent? At some point do the providers block or throttle service?
是否有人将这种类型的电子邮件/短信网关用于大容量或高可靠性应用程序?
Is there anyone out there who is using this type of email/SMS gateway for either a high volume or high reliability application?
推荐答案
电子邮件到短信网关通常是可靠的,前提是某些条件(请阅读下文).您应该使用电子邮件到短信网关还是实际的第三方提供商取决于应用程序.如果您需要对消息格式、收集回复等进行大量控制,请选择第三方提供商.如果您要向用户发送简单通知,请使用电子邮件转短信.
The email-to-SMS gateways are generally reliable, given a few conditions (read below). Whether you should use an email-to-SMS gateway or an actual third-party provider depends on the application. If you're going to need a lot of control over the formatting of the messages, collecting replies, etc., then go with a third-party provider. If it's a simple notification you are sending your users, go with email-to-SMS.
如果您从同一电子邮件地址发送过多邮件,这些邮件将开始备份.例如,我向大约 3,000 名 AT&T Wireless 收件人发送了一条消息,有些人在 3 天后收到了消息.但通常,发送 10-30/分钟不会造成任何问题.
If you send too many messages from the same email address, the messages will start backing up. For instance, I sent a message out to about 3,000 AT&T Wireless recipients, and some received the messages up to 3 days later. But typically, sending 10-30/minute won't cause any problems.
我为我构建的 iPhone 应用程序使用电子邮件到短信网关.它每分钟向几乎所有美国运营商发送大约 10 条消息,而且很少遇到问题.
I use email-to-SMS gateways for an iPhone application that I built. It sends probably 10 messages per minute to almost all U.S. carriers, and it rarely experiences problems.
我在使用电子邮件到短信网关时遇到了三个主要问题:
There are three main issues that I run into with the email-to-SMS gateway:
- 您无法控制消息的外观.每个运营商都不同.对于某些人,收件人将显示电子邮件地址,而其他人将显示姓名.有些包含电子邮件的主题行,有些不包含.
- 您无法控制消息来自哪个号码.幸运的是,一般人群通常会阅读发送给他们的所有短信,而不管发件人的号码如何.
- 如果没有服务器端脚本来管理收到的电子邮件,您就无法控制回复.对于大多数运营商来说,来自电话的回复会返回到发件人的电子邮件地址.
- You don't have control over what the message looks like. Every carrier is different. For some, the recipient will show the email address and others will show the name. Some include the subject line of the email, some don't.
- You can't control what number the messages come from. Fortunately, the general population typically reads all text messages sent to them regardless of the sender's number.
- You can't control the replies without a server-side script to manage incoming email. For most carriers, a reply from the phone goes back to the sender's email address.
这篇关于使用免费电子邮件发送短信的限制->短信网关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!