PHP function for SMS

Discussion in 'PHP' started by tru504187211, Aug 17, 2006.

  1. #1
    Good Morning,

    I've done plenty of google searches, but none seem to get it right...

    Basically, I am looking for a function to call at a certain point in my php code to send a predefined SMS message to a sprint phone...

    Can somebody start me in the right direction?

    Thanks!
     
    tru504187211, Aug 17, 2006 IP
  2. danielbruzual

    danielbruzual Active Member

    Messages:
    906
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    70
    #2
    I think you can SMS messages by sending an email to "thenumber@serviceprovider.com", you might want to buy a SMS sending script (there is one for $10 in the Buy/Sell/Trade section of this forum) and grab the parts that you need.
     
    danielbruzual, Aug 17, 2006 IP
  3. fambi

    fambi Peon

    Messages:
    49
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    All you have to do is find out the email address provided by sprint and then use php's mail() function.... no need to pay for anything.
     
    fambi, Aug 17, 2006 IP
  4. tru504187211

    tru504187211 Peon

    Messages:
    287
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for the replies...got it working by using the php_mail function!
     
    tru504187211, Aug 17, 2006 IP
  5. jroxonline

    jroxonline Peon

    Messages:
    15
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Not to be a bother or anything, but can you kindly share how you came up with it?

    Is it just the thing?
     
    jroxonline, Aug 18, 2006 IP
  6. tru504187211

    tru504187211 Peon

    Messages:
    287
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yes...that was exactly it...
     
    tru504187211, Aug 18, 2006 IP
  7. Magnus

    Magnus Peon

    Messages:
    164
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Been looking for something like this!

    If you can't find the email address, in some phones (many?) you can send an MMS to your email and the address will be the email I think.

    [edit]Sorry. It didn't work for me. I was wrong... Probably...[/edit]
     
    Magnus, Aug 19, 2006 IP
  8. ip076

    ip076 Peon

    Messages:
    79
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You should check out teleflip.com.

    They basically offer a routing service. I'm not quite sure how they do it, but you send an email to and they route it to the appropriate provider.

    Kind of neat, but of course, not free if youre going to use it a bunch.
     
    ip076, Aug 19, 2006 IP
  9. fambi

    fambi Peon

    Messages:
    49
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    As far as i know, Teleflip.com use numbering plans to identify the network carrier to which an MSISDN belongs. They might also have was of updating it, but it would be very difficult to make it 100% accurate in light of mobile number portability (MNP).

    I thought about providing a free service like teleflip, but bailed out as i hardly have time for my own business.

    If you want to use teleflip.com for commercial purposes, i would first recommend you ask them if and how they are able to support MNP?
     
    fambi, Aug 19, 2006 IP
  10. ip076

    ip076 Peon

    Messages:
    79
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I was wondering if doing some sort of reverse 411 (as seen here https://www.intelius.com/reverse-phone-lookup.html) might be possible.

    If you put a mobile number in there, it will return the service provider. I was thinking that something like this might possibly be what they're using, but I think you might be on the right track....
     
    ip076, Aug 19, 2006 IP