从网站向用户发送短信-如何? [英] Sending SMS from website to users - how?

查看:128
本文介绍了从网站向用户发送短信-如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站上有电子邮件通知,但我也想添加SMS通知。我不知道该怎么做。它是纯粹的编码还是我需要与世界各地的电话提供商进行合作或购买服务,或者它如何工作?对于编码,我是否可以使用或必须完全使用框架?我的社交网络在php和mysql中。我是否需要数据库中的任何内容(例如存储消息)还是全部在ISP端?

I have email notifications on my site but I want to add SMS notifications also. I am lost how to do this. Is it purely coding or do i need to engage in partnerships with phone providers world over or buy a service or how does it work. And for the coding are there frameworks i can use or have to do it from ground up? My social network is in php and mysql. Do i need anything from the database for this, like to store the messages or is that all on the ISP's end?

推荐答案

您为此需要服务,或者需要建立自己的基础架构(GSM调制解调器等)。最好使用SMS聚合器,例如 Clickatel 。此类服务的技术术语是 SMS网关。

You need either a service for that, or to set up your own infrastructure (GSM modem, etc.). Best go with an SMS Aggregator, such as Clickatel. The technical term for this kind of service is "SMS Gateway".

您选择的网关中,您需要找出其API是什么并将其用于发送SMS。

Whichever gateway you choose, you need to find out what their API is and use it to send SMS.

这篇关于从网站向用户发送短信-如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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