搜索
首页后端开发php教程免费发短信(仅限美国海内)How to Send Free Text Messages Using PHP

免费发短信(仅限美国国内)How to Send Free Text Messages Using PHP

测试DEMO

?

I am currently working on a large project and part of the project is to send simple text message notices using PHP.? Our client had looked into a number of expensive services to send simple SMS messages but most were cost prohibitive for a start-up venture.

As usual, I was not satisfied paying for something that I should be able to do on my own. So I started thinking about how the messaging systems worked and realized that we could just use the carriers built in email addresses for MMS messaging.? This is a great, cost effective method for sending text messages but it does require that you know the user’s carrier for the message to be successfully delivered.? In our case, we are able to ask for that in the web form which we are using to collect the user’s phone number but it may not work for every application.?

?

Basically the solution is to send an email using the built in mail function in PHP or any common method of sending email.? The email address you would send to would be the 10 digit mobile number followed by the carriers specific email address. (A list is included below)

?

Email addresses for the primary U.S. based cell phone carriers:
Alltel = [email protected]
AT&T = [email protected] or [email protected]
Boost Mobile = [email protected]
Centennial Wireless = [email protected]
Einstein PCS = [email protected]
Nextel = [email protected]
Sprint = [email protected] or [email protected]
T-Mobile = [email protected]
US Cellular = [email protected]
Verizon Wireless = [email protected]
Virgin Mobile = [email protected]

?

The simple PHP code to send the email:

//SUBJECT AND BODY OF EMAIL SHOULD BE LESS THAN 160 CHARACTERS TOTAL$subject = "Text Message Subject";$message = "Text Message Content";  //SENDS TEXT MESSAGE TO 503-869-4212mail("[email protected]",$subject,$message,"From: [email protected]");

?

?

原文:http://www.stemkoski.com/sending-text-messages-using-php-for-free/

更多carrier:

http://www.sensiblesoftware.com/weblog/2011/02/28/cell-phone-email-addresses/

http://networking.ringofsaturn.com/Telecommunications/mobile-phone-emails.php

?

测试DEMO

声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
Python如何使用email、smtplib、poplib、imaplib模块收发邮件Python如何使用email、smtplib、poplib、imaplib模块收发邮件May 16, 2023 pm 11:44 PM

一封电子邮件的旅程是:MUA:MailUserAgent——邮件用户代理。(即类似Outlook的电子邮件软件)MTA:MailTransferAgent——邮件传输代理,就是那些Email服务提供商,比如网易、新浪等等。MDA:MailDeliveryAgent——邮件投递代理。Email服务提供商的某个服务器发件人->MUA->MTA->MTA->若

2 个月不见,人形机器人 Walker S 会叠衣服了2 个月不见,人形机器人 Walker S 会叠衣服了Apr 03, 2024 am 08:01 AM

机器之能报道编辑:吴昕国内版的人形机器人+大模型组队,首次完成叠衣服这类复杂柔性材料的操作任务。随着融合了OpenAI多模态大模型的Figure01揭开神秘面纱,国内同行的相关进展一直备受关注。就在昨天,国内"人形机器人第一股"优必选发布了人形机器人WalkerS深入融合百度文心大模型后的首个Demo,展示了一些有趣的新功能。现在,得到百度文心大模型能力加持的WalkerS是这个样子的。和Figure01一样,WalkerS没有走动,而是站在桌子后面完成一系列任务。它可以听从人类的命令,折叠衣物

vue3中怎么使用element-plus调用messagevue3中怎么使用element-plus调用messageMay 17, 2023 pm 03:52 PM

vue3使用element-plus调用message环境:vue3+typescript+element-plus1.全局引入element之后element已经在app.config.globalProperties添加了全局方法$message所以在optionsAPI中可以直接使用mounted(){(thisasany).$message.success("this.$message");}2.在CompositionAPI中setup方法传入了两个变量props和

THE是什么币种,THE币值得投资吗?THE是什么币种,THE币值得投资吗?Feb 21, 2024 pm 03:49 PM

THE是什么币种?THE(TokenizedHealthcareEcosystem)是一种数字货币,利用区块链技术,专注于医疗健康行业的创新和改革。THE币的使命是利用区块链技术提高医疗行业的效率和透明度,推动各方之间更高效的合作,包括患者、医护人员、制药公司和医疗机构。THE币的价值和特点首先,THE币作为一种数字货币,具备了区块链的优势——去中心化、安全性高、交易透明等,让参与者能够信任和依赖这个系统。其次,THE币的独特之处在于它专注于医疗健康行业,借助区块链技术改造了传统医疗体系,提升了

在Java中,我们可以将顶级类声明为protected或private吗?在Java中,我们可以将顶级类声明为protected或private吗?Sep 12, 2023 pm 07:21 PM

不,我们不能将顶级类声明为私有或受保护。它可以是公共或默认(无修饰符)。如果没有修饰符,则应该具有默认访问权限。语法//Atoplevelclass  publicclassTopLevelClassTest{   //Classbody}如果将一个顶级类声明为私有(private),编译器将会报错,提示“在此处不允许使用修饰符private”。这意味着顶级类不能是私有的,同样也适用于protected访问

win10邮箱如何插入附件教程win10邮箱如何插入附件教程Jan 07, 2024 pm 12:14 PM

很多用户在日常生活中都需要发送邮件来进行工作,有些更是需要附加各种插件资料进行交流,那么该怎么插入附件呢?下面就一起来看看详细的教程吧。win10邮箱如何插入附件:1、打开邮箱2、点击左上角的“新邮件”图标3、点击右上角“插入”4、点击右上角“附件”5、选择需要的“附件”6、完成即可

Java程序展示不同的访问级别Java程序展示不同的访问级别Aug 19, 2023 pm 10:09 PM

Accessmodifiersareusedtosetthefeatureofvisibilityofsomeparticularclasses,interfaces,variables,methods,constructors,datamembers,andthesettermethodsinJavaprogramminglanguage.在Java环境中,我们有不同类型的访问修饰符。默认-如果我们声明一个函数,它只会在特定的包中可见。Private-如果我们声明一个函数,它只能在特定的类中可

如何查询The Sandbox币最新价格?如何查询The Sandbox币最新价格?Mar 05, 2024 am 11:52 AM

如何查询TheSandbox币最新价格TheSandbox是建立在以太坊区块链上的去中心化游戏平台,使用其原生代币SAND可以购买土地、资产和游戏体验。想要查询SAND最新价格的步骤如下:选择一个可靠的价格查询网站或应用程序。一些常用的价格查询网站包括:CoinMarketCap:https://coinmarketcap.com/Coindesk:https://www.coindesk.com/币安:https://www.binance.com/在网站或应用程序中搜索SAND。查看SAND

See all articles

热AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover

AI Clothes Remover

用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool

Undress AI Tool

免费脱衣服图片

Clothoff.io

Clothoff.io

AI脱衣机

AI Hentai Generator

AI Hentai Generator

免费生成ai无尽的。

热门文章

R.E.P.O.能量晶体解释及其做什么(黄色晶体)
2 周前By尊渡假赌尊渡假赌尊渡假赌
仓库:如何复兴队友
4 周前By尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island冒险:如何获得巨型种子
3 周前By尊渡假赌尊渡假赌尊渡假赌

热工具

SublimeText3 Linux新版

SublimeText3 Linux新版

SublimeText3 Linux最新版

记事本++7.3.1

记事本++7.3.1

好用且免费的代码编辑器

Atom编辑器mac版下载

Atom编辑器mac版下载

最流行的的开源编辑器

WebStorm Mac版

WebStorm Mac版

好用的JavaScript开发工具

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

功能强大的PHP集成开发环境