Free text message (US only) how to Send the text Messages Using PHP

Source: Internet
Author: User
Free text message (domestic only) how to Send the text Messages Using PHP

Test Demo

?

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

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

?

Basically the solution is to send a email using the built in mail function in PHP or any common method of sending email.? The email address you would send to would is the 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]
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 is less THAN characters total$subject = "text Message SUBJECT"; $message = "Text Mes Sage Content ";  Sends TEXT MESSAGE to 503-869-4212mail ("[E-mail protected]", $subject, $message, "from: [email protected]");

?

?

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

More carrier:

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

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

?

Test Demo

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.