首頁 後端開發 php教程 免费发短信(仅限美国海内)How to Send Free Text Messages Using PHP

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

Jun 13, 2016 pm 12:02 PM
email message protected the

免费发短信(仅限美国国内)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

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

Video Face Swap

Video Face Swap

使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱工具

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發環境

Dreamweaver CS6

Dreamweaver CS6

視覺化網頁開發工具

SublimeText3 Mac版

SublimeText3 Mac版

神級程式碼編輯軟體(SublimeText3)

2 個月不見,人形機器人 Walker S 會摺衣服了 2 個月不見,人形機器人 Walker S 會摺衣服了 Apr 03, 2024 am 08:01 AM

機器之能報道編輯:吳昕國內版的人形機器人+大模型組隊,首次完成疊衣服這類複雜柔性材料的操作任務。隨著融合了OpenAI多模態大模型的Figure01揭開神秘面紗,國內同行的相關進展一直備受關注。就在昨天,國內"人形機器人第一股"優必選發布了人形機器人WalkerS深入融合百度文心大模型後的首個Demo,展示了一些有趣的新功能。現在,得到百度文心大模型能力加持的WalkerS是這個樣子的。和Figure01一樣,WalkerS沒有走動,而是站在桌子後面完成一系列任務。它可以聽從人類的命令,折疊衣物

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->若

vue3中怎麼使用element-plus呼叫message vue3中怎麼使用element-plus呼叫message May 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和

在Java中,我們可以將頂級類別聲明為protected或private嗎? 在Java中,我們可以將頂級類別聲明為protected或private嗎? Sep 12, 2023 pm 07:21 PM

不,我們不能將頂級類別聲明為私有或受保護。它可以是公共或預設(無修飾符)。如果沒有修飾符,則應該具有預設存取權限。語法//Atoplevelclass  publicclassTopLevelClassTest{   //Classbody}如果將一個頂級類別宣告為私有(private),編譯器將會報錯,提示「在此處不允許使用修飾符private」。這意味著頂級類別不能是私有的,同樣也適用於protected訪問

THE是什麼幣種,THE幣值得投資嗎? THE是什麼幣種,THE幣值得投資嗎? Feb 21, 2024 pm 03:49 PM

THE是什麼幣種?THE(TokenizedHealthcareEcosystem)是一種數位貨幣,利用區塊鏈技術,專注於醫療健康產業的創新和改革。 THE幣的使命是利用區塊鏈技術來提高醫療產業的效率和透明度,推動各方之間更有效率的合作,包括病患、醫護人員、製藥公司和醫療機構。 THE幣的價值和特徵首先,THE幣作為一種數位貨幣,具備了區塊鏈的優勢——去中心化、安全性高、交易透明等,讓參與者能夠信任和依賴這個系統。其次,THE幣的獨特之處在於它專注於醫療健康產業,並藉助區塊鏈技術改造了傳統醫療體系,提升了

如何查詢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

Java程式展示不同的存取級別 Java程式展示不同的存取級別 Aug 19, 2023 pm 10:09 PM

Accessmodifiersareusedtosetthefeatureofvisibilityofsomeparticularclasses,interfaces,variables,methods,constructors,datamembers,andthesettermethodsinJavaprogramminglanguage.在Java環境中,我們有不同類型的存取修飾符。預設-如果我們聲明一個函數,它只會在特定的包中可見。 Private-如果我們宣告一個函數,它只能在特定的類別中可

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

許多使用者在日常生活中都需要發送郵件來進行工作,有些更是需要附加各種插件資料進行交流,那麼該怎麼插入附件呢?下面就一起來看看詳細的教學。 win10信箱如何插入附件:1、開啟信箱2、點選左上角的「新郵件」圖示3、點選右上角「插入」4、點選右上角「附件」5、選擇需要的「附件」6、完成即可

See all articles