Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Trying to send SMS from PC to Mobile but unable to select "Send Free SMS" button on the home page

by jonadab (Parson)
on Sep 12, 2014 at 14:15 UTC ( #1100401=note: print w/replies, xml ) Need Help??


in reply to Trying to send SMS from PC to Mobile but unable to select "Send Free SMS" button on the home page

Another way to accomplish this is to use the carrier's email-to-SMS gateway. For example, if the phone is on Verizon's network and has phone number 555-111-5555, you can use a module like Mail::Sendmail to send a message to 5551115555@vtext.com, and it will be received on the phone as a text message. I think all major cell carriers have such a gateway. The user on the phone can also reply, and the answer will go to the email address you used. (I'm not sure if it prioritizes the SMTP envelope address or the From: or Reply-To: address; I always just use the same address for all three.)

I actually have a Perl script I wrote that, in addition to letting me send texts, also monitors my POP3 inboxes and watches for replies, then sends them to me as a /msg on IRC. I can then answer like /msg botname !sms Whoever blah blah blah, and my Perl script looks up Whoever in its database, gets the phone number and carrier, constructs the email, and sends it, and my sister (or whoever) gets it on her phone.

  • Comment on Re: Trying to send SMS from PC to Mobile but unable to select "Send Free SMS" button on the home page
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1100401]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2019-12-05 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (151 votes). Check out past polls.

    Notices?