针对具有 API 支持的 SMS 网关的建议 [英] Recommendations for SMS gateways with API-support

查看:61
本文介绍了针对具有 API 支持的 SMS 网关的建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个需要通过短信发送通知的网络应用程序.

I'm building a web application that needs to send notifications by SMS.

具有 API 支持的 SMS 网关服务提供商满足以下要求:

What SMS gateway service providers with API support fulfill the following requirements:

  • 可靠
  • 全球交付 - 我将向全球发送,没有特定地区被发送到比其他地区更多
  • 非常便宜

您有什么建议?为什么?

What are your recommendations? Why?

推荐答案

Clickatell 是一种流行的 SMS 网关,它覆盖 220 多个国家/地区的 819 个网络.

API 通过以下方式提供多种连接选项:HTTP/S, SMPP, SMTPFTPXMLSOAPCOM.

The API offers a choice of connection options via: HTTP/S, SMPP, SMTP, FTP, XML, SOAP and COM.

举几个例子,HTTP 方法就像从您的应用程序请求以下 URI 一样简单:

To give a few examples, the HTTP method would be as simple as requesting the following URI from your application:

http://api.clickatell.com/http/sendmsg?to=NUMBER&msg=Message+Body+Here

SMTP 方法包括向 sms@messaging.clickatell.com 发送一封纯文本电子邮件,其正文如下例所示:

The SMTP method would consist in sending a plain-text email to sms@messaging.clickatell.com, with a body as in the following example:

user: xxxxx
password: xxxxx
api_id: xxxxx
to: NUMBER
text: Message Body Here

在我看来,其他方法也同样易于使用.您可以从 Clickatell API 指南中查看完整的详细信息.

The other methods are similarly easy to interface with, in my opinion. You can check out the full details from the Clickatell API Guide.

至于消息成本,Clickatell 使用基于信用的系统.1 积分通常意味着 1 条消息,但有些目的地可能会收取更少的费用(通常为 0.8 积分),有些可能会收取更多费用(通常为 1.5 或 2).显然,这取决于特定地区的网络运营商.(来源)

As for message costs, Clickatell uses a credit based system. 1 credit will generally mean 1 message, but some destinations may charge a bit less (usually 0.8 of a credit) and some may charge more (usually 1.5 or 2). Apparently this depends on the network operators in the particular region. (Source)

1 个信用目前的价格为0.03 美元/0.022 欧元/0.02 英镑.最低要求是 400 积分,因此初始投资可以仅为 12 美元.(来源)

1 credit is currently priced at USD 0.03 / EUR 0.022 / GBP 0.02. There is a minimum requirement of 400 credits, so the initial investment can be of just USD 12. (Source)

您可能还想通过浏览器免费测试网关:Clickatell:测试短信网关.

You may also want to test the gateway for free from your browser: Clickatell: Test SMS Gateway.

这篇关于针对具有 API 支持的 SMS 网关的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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