PHP Text Messaging Script

by 20 replies
44
I'm looking for a PHP script that will allow me to send automated text messages to my subscriber list. Does anyone here know of, or have experience with, a script that can do this?
#programming #messaging #php #script #text
  • [DELETED]
    • [1] reply
    • I'm talking about mobile phone text messaging - MMS/SMS.

      I want to send text messages to cell phones... Like an email autoresponder, but texting instead.
      • [1] reply
  • There are services you can go through but you 1 - do have to pay 2 - have limited control. If you are looking for something that you have full control over it can be coded but it is going to cost a good amount of money.

    James
    • [1] reply
    • If you don't want to pay for services, you can email the text message to their phone. All the major carriers have email alternatives along the lines of 555555555@mobile.att.net

      You would just need a script to ask them what carrier they have when you get their number and use it to build the email address. Check each carrier to see what the email format is. It will come across as text message, not an email.
      • [2] replies
  • Well it might not be possible if you can't find a service provider that would come in contract with you. Or if you could find any site that already offers such service.
  • actually, you can simple do a simple php script to do that but only for providers that allow sms emailing, some countries doesnt have that and for this you might want to subscribe to an sms provider.

    Other methods are using services linke wanga that has a mass sms feature
  • Getting a PHP script to send an SMS message is not actually much harder than sending an email because you're basically doing the same thing, except rather than use an email server you use an SMS gateway.

    You need to pay for access to an SMS gateway. There are many options as a quick Google search will show you.

    Clickatell is a popular choice. They have an API so you can send messages directly from your scripts, and (like many of the other services) have code examples to get you started.
    • [ 1 ] Thanks
  • I was wondering , where I can buy a script like this -txtin .com
  • Try SMS channels - Google Labs. This may be country specific. Your feed can be easily integrated with this.
  • I agree with Darren Mothersele and would recommend Clickatell as well, they have an easy-to-use API that is well documented.

    You can use a similar script to the one posted by hamishmarhsal to get things up and running. An experienced developer should create a PHP function send_sms() that relies on Clickatell API and is as easy to use as the built-in email() function in less than an hour.
    • [1] reply
    • As a systems architect I agree with the method suggested via the clickatell gateway. And as a Biz Dev agent I realize that one might need to stage such a thing using a script to address *80 percent* of your prospective market and allowing failures for the rest. As long as you know which clients were successfully delivered to, you can manage your clientbase.

      If you're looking for a script on the down low at this time, isolate your market and create a script to handle that market. Most of the "easily done" style comments are because they assumed a specific market. You can also use IP Geo-mapping to determine most probable Market origins for your clients-to-be, and then direct scripts to handlers for those markets. You might find that the majority of your clients arrive from 2 or 3 market bases (countries).

      Yes it's all possible. You need someone to take your specific case, and your specific needs (possibly including budget) and craft a strategy for the short term/long term goals you desire.
      • [1] reply
  • Banned
    [DELETED]
  • Banned
    If wanted, attached is a CSV list of 175 cell phone providers. ID#, name of provider, and the e-mail address to send to. Just replace ~phone~ in the e-mail address field with their 10 digit phone number.
  • Banned
    [DELETED]
  • PHP script to send an SMS message is not actually much more difficult than sending an email as you're basically doing the same thing, exclude rather than use an email server you apply an SMS gateway.
  • There are so many scripts in internet for sending text message.
    But which service or gateway would you like to use for sms or you are trying to make your own gateway?
  • Banned
    [DELETED]
  • Banned
    [DELETED]

Next Topics on Trending Feed

  • 44

    I'm looking for a PHP script that will allow me to send automated text messages to my subscriber list. Does anyone here know of, or have experience with, a script that can do this?