通过 PHP 发送短信/短信 [英] SMS/Text message sending via PHP

查看:31
本文介绍了通过 PHP 发送短信/短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很想知道通过 PHP 发送短信是否可行.其主要目的是向一群人发送一条消息 - 10+ - 包含有关新闻等的更新.最好的解决方案应该是免费的,尽管它在任何方面都不是必需的.提前致谢.

I'm interested in knowing if it would be at all feasible to be able to send text messages via PHP. The main purpose of which would be to send a single message to a group of people - 10+ - with updates regarding news and such. Preferably the solution should be free, though it is not a necessity in any way. Thanks to all in advance.

推荐答案

我已经用 PHP 做到了这一点,而且效果很好.短信只不过是一封电子邮件,通常带有收件人的 10 位数字@address.com.如果您想向使用 PHP 的人发送短信,则需要获取正确的地址:

I've done this with PHP, and it works very well. Text messages are nothing more than an email, usually with the receiver's 10 digit number @address.com. If you want to send text messages to someone with PHP, you'll need to get the proper address:

这是部分列表

您需要注意消息的长度,因为大约 55 个字符(我相信)您的消息可能会被分成多个文本,或者丢失.

You'll want to be careful with how long your messages get, since at about 55 characters (I believe) your message can be either split into multiple texts, or lost.

通过电子邮件发送文本是免费的.

Sending texts via email is free.

这篇关于通过 PHP 发送短信/短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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