如何编程以专业和可靠的方式发送短信? [英] How to send SMS programatically in a professional and reliable way?

查看:195
本文介绍了如何编程以专业和可靠的方式发送短信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于一个项目,我的工作在我需要一个可靠的方式发送短信,因为这是一个生产应用程序。我的问题是,应用程序在云中运行,我不能使用额外的硬件,如SMS网关。

for a project I'm working at I need to send SMS messages in a reliable way as this is a production application. The problem I have is that the application runs on the cloud and I can't use extra hardware like SMS gateways.

我使用的是不提供典型的邮件短信网关,我不嫌弃可靠的供应商。任何严肃的解决办法吗?

The provider I'm using does not offer the typical mail to SMS gateway and I don't find it too reliable. Any serious solution?

感谢。

PD:我不是在寻找一个免费的服务,但一个可靠

PD: I'm not looking for a free service but a reliable one.

PD:我需要西班牙的服务,只提供信息,不接受他们的

PD: I need the service for Spain and only to deliver messages, not to receive them.

推荐答案

您对可靠性的具体问题可能取决于你要发送到的地理区域。希望更多的开发者能够提供真实的生活体验。 Twilio确实有一个很大的用户群,通常这表明,服务好<一个href="http://techcrunch.com/2012/06/05/twilio-passes-a-milestone-100000-developers-for-its-voip-sms-platform/" rel="nofollow">http://techcrunch.com/2012/06/05/twilio-passes-a-milestone-100000-developers-for-its-voip-sms-platform/ 另请参阅本previous SO入门<一href="http://stackoverflow.com/questions/2528919/sms-gateway-service-provider-with-php-api">http://stackoverflow.com/questions/2528919/sms-gateway-service-provider-with-php-api

Your specific question about reliability probably depends on the geographical region you are sending to. Hopefully more devs can offer real life experience. Twilio does have a big user base and usually this suggests the service is good http://techcrunch.com/2012/06/05/twilio-passes-a-milestone-100000-developers-for-its-voip-sms-platform/ Also see this previous SO entry http://stackoverflow.com/questions/2528919/sms-gateway-service-provider-with-php-api

选择一个提供程序还依赖于哪些国家,你需要覆盖,是否需要发送和接收的能力,如果你想有一个专用短code。 有一大堆公司提供的基于Web的API,用于发送短信,包括了一堆运营商提供服务的。这些往往会提供不同的国际覆盖面最具有特定区域的最佳覆盖范围。这些服务的成本也随公司之间的安装费变,这取决于是否需要专用的短code设置上。

Choosing a provider does also depend on what countries you require coverage for, whether you require the ability to send and receive, and if you want a dedicated shortcode. There are a whole bunch of companies offering web based APIs for sending SMS including a bunch of operators offering a service. These tend to offer different international coverage with most having the best coverage in particular regions. The cost of the services also varies with setup fees varying between companies and depending on if you require a dedicated shortcode set up.

下面是一些比较知名的公司,提供手机短信的网络API服务

Here are some of the better known companies offering SMS web API services

Twilio - 美国覆盖发送和接收,但目前运行的国际测试程序的 https://www.twilio.com/international-sms ,没有安装费或最低合同为标准的服务但是有如果你想用一个简短code 3个月的最低水​​平。

Twilio - US coverage for send and receive but currently running an international beta program https://www.twilio.com/international-sms, no setup fees or minimum contract for the standard service however there is a 3 month minimum if you want to use a short code.

对流层 - 美国覆盖发送和接收,并可以发送短信给国际号码,但不能接收。

Tropo - US coverage for send and receive and it is possible to send SMS message to international numbers but not receive.

ZEEP - 美国唯一覆盖和只发送,用最少的每月支出和使用ZEEP总之code。

Zeep - US only coverage and send only, with a minimum monthly spend and using a Zeep shortcode.

Nexmo - 没有安装费或最低月租费。提供与发送短信,在美国目前的低利率的国际覆盖面。有限的国家覆盖接收短信。

Nexmo - No setup fee or minimum monthly fees. Provides international coverage with currently a low rate on SMS sending in the US. Limited country coverage for receiving SMS.

MediaBurst - 英国的公司与国际范围发送和接收短信的API。需要注意的是国际保险并不一定包括所有美国运营商(例如),但多数。他们给每个短信£0.05散装定价的固定价格。似乎不支持自定义短codeS。

MediaBurst - UK based company with International coverage for send and receive SMS APIs. Note that "international coverage" does not necessarily include all US carriers (for example) but the majority. They give a fixed price of £0.05 per SMS with bulk pricing. Does not seem to support custom short codes.

也有一些运营商提供基于Web的API,用于通过他们的网络发送短信,包括:

There are also some operators offering web based APIs for sending SMS through their network including:

Bluevia 提供,开发人员共享的发送的利润独特的利润份额模型(或接收)的短信,但覆盖范围仅限于西班牙电信的网络在一些欧洲和南美国家(见的https:/ /bluevia.com/en/page/tech.overview.countries )。他们还提供付款和位置的API。

Bluevia offer a unique profit share model where the developer shares the profits of the sent (or received) sms, however the coverage is limited to Telefonica networks in some European and South American countries (see https://bluevia.com/en/page/tech.overview.countries). They also offer payment and location APIs.

最近推出的 OneAPI 可在三大运营商在加拿大和将要推出不同的国家推出。这使获得发送和接收SMS,以及一些其他的事情如付款和位置。的成本,用于发送和接收SMS取决于操作

The recently launched OneAPI is available on the three major operators in Canada and is to be rolled out to different countries soon. This gives access to sending and receiving SMS as well as some other things like payment and location. The cost for sending and receiving SMS depends on the operator.

这篇关于如何编程以专业和可靠的方式发送短信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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