Mail function to send sms

Discussion in 'PHP' started by rvaibhav, Nov 8, 2010.

  1. #1
    Hi All,

    Today I read somewhere that we can use the PHP mail function to send sms to mobile phones for free.

    I have only heard that we need to buy sms packs from sms gateways, then they provide an API to send sms.

    For the 'to' address whe can set the format as
    <mobile-number>@<serviceprovider>.com

    The sms gateway of your service provider will have a domain to which we can send mails.

    Suppose all things being the same in my PHP mail script,
    I have to specify the 'to' address as

    where bplmobile is an old service provider in India.(I don't know if its still active).
    My sms will be delivered to the mobile number 9876125896

    If this can be done then this can be a boon for Web Developers.
    The next task at hand would be to find out, at what email address can we send mails for different service providers in your country so that we can send free sms to mobiles
     
    rvaibhav, Nov 8, 2010 IP
  2. AtomicPages

    AtomicPages Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    AtomicPages, Nov 8, 2010 IP
  3. web_tech

    web_tech Peon

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hey AtomicPages, thanks for the cool link of wikipedia on the same.. :) although it was sad to know that several Indian providers are not supported with this facility.
     
    web_tech, Nov 8, 2010 IP
  4. AtomicPages

    AtomicPages Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It does say "This is an incomplete list". Maybe the providers you are looking for just aren't listed there. I guess you can probably find out with a little googling :)
     
    AtomicPages, Nov 8, 2010 IP
  5. rvaibhav

    rvaibhav Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Today I tried for Vodafone India to send a sms to my mobile from my email id.

    However there was no message of email bounce or anything.

    I guess its not supported in India.
     
    rvaibhav, Nov 8, 2010 IP
  6. jmbinfo

    jmbinfo Well-Known Member

    Messages:
    425
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    100
    #6
    So....if you have someone's cell phone number how do you know what service provider they are on so you can send via email?
     
    jmbinfo, Nov 8, 2010 IP
  7. AtomicPages

    AtomicPages Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    On the website I run, when people sign up for text message notifications we have them enter their cell phone number and choose what service provider they have. There's no way I know of to find out the provider just by having the phone number.
     
    AtomicPages, Nov 8, 2010 IP