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

Hi All

This isnlt strictly perl related, but it is something I am trying to get into my script. I want to send SMS messages and I'm unsure how to do this, for ex. the user will signup and it will send them a SMS message..

Any thoughts appreciated

Replies are listed 'Best First'.
Re: SMS Sending
by grinder (Bishop) on Jan 12, 2002 at 22:50 UTC
    A quick search here turns up this node: WWW::SMS. The CPAN has a big list of modules that deal with SMS.

    Have fun, and don't hesitate to call again when you have a specific question we could help you with.


    Hmmm, the perils of replies occurring whilst composing your own reply. You've found a module to do the job, this is Good. The Net::SMS::Genie web page seems pretty straightforward. What is the actual problem?

    --
    g r i n d e r
    print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u';
Re: SMS Sending
by hatter (Pilgrim) on Jan 12, 2002 at 23:07 UTC
    As long as your volume is quite low and you don't mind if the sms's don't occassionally get through, then posting data through phone companies websites is a good free solution.

    However for my uses (commercial system monitoring) the volume and the availability make using websites a problem. So I use a modem and call SMS Client from http://www.styx.demon.co.uk

    That said, if you're just sending to a small number of SMS networks, chances are you could knock something up in perl talking directly to the serial port, and just using the config files from SMS Client as a hint. It's normally as simple as dial the right number, wait for CONNECT, enter the phone number you want to message, hit return, then the message, then return, wait for an 'ok, done' message, and hang up (I've (badly) written something previously to do this, but am using SMS Client to keep an eye on updates that are needed)

    the hatter

Re: SMS Sending
by dws (Chancellor) on Jan 12, 2002 at 22:48 UTC
    Most services provide web- or email-based access for sending SMS messages. The problem then becomes largely one of how to post a form or send mail from a Perl script. There are examples all over the monastary on how to do both.

    Try searching for "SMS" (use Super Search to get more hits). You'll find plenty of help.

Re: SMS Sending
by n3dst4 (Scribe) on Jan 12, 2002 at 22:55 UTC
    Easiest is probably Net::SMS:Genie
    If you want to actually create the SMS contact yourself, rather than through a dodgy intermediary, there's original Net:SMS.

    Well, that's two strictly perl-related answers to a not strictly perl-related question

(cLive ;-) Re: SMS Sending
by cLive ;-) (Prior) on Jan 13, 2002 at 02:46 UTC
    Following on from the Net::SMS module post, I've spent some time playing with this lately, and I think simplewire have their head in the right place (I think they wrote that module as well).

    cLive ;-)

Re: SMS Sending
by marauder (Novice) on Jan 12, 2002 at 22:42 UTC
    oops i mean Net::SMS::genie