問題描述
我很想知道通過 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 發送短信/短信的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!