Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

An SMS Qstn!

by rupesh (Hermit)
on May 14, 2003 at 12:39 UTC ( [id://258053]=perlquestion: print w/replies, xml ) Need Help??

rupesh has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
Was wondering whether one could send an sms using perl scripts.
Are there any modules to support the same?

Thanks!

we're born with our eyes closed and our mouths wide open, and we spend our entire life trying to rectify that mistake of nature. - anonymous.

Replies are listed 'Best First'.
Re: An SMS Qstn!
by smitz (Chaplain) on May 14, 2003 at 12:42 UTC
Re: An SMS Qstn!
by EvdB (Deacon) on May 14, 2003 at 13:37 UTC
    You can use the pre-rolled modules or you can create your own. I recently looked into this and found that the main factor (for me) was which company to pass the messages to for sending.

    The one I chose (www.textforce.co.uk) has a simple if badly documented HTTP request method of sending a text, for which it is pretty easy to use LWP on. In their case the return is an XML block which XML::Simple sorts out nicely.

    That said though you should abstract the code for passing the message to the web-site from the application logic - that way when a better site comes along you can make the change seamlessly.

    The things that seem to be common to most SMS message senders are: The message, the sender's name, the number(s) to send to and the type of message (normal or 'flash'). Other than these there are other things that each sender's API will differ on (username and password, etc).

    -- tidiness is the memory loss of environmental mnemonics

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://258053]
Approved by broquaint
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-19 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found