TextMessage(3)

NAME
LJ::TextMessage - text message phones/pages using a variety of methods/services

SYNOPSIS
  use LJ::TextMessage;
  @providers = LJ::TextMessage::providers();
  foreach my $p (@providers) {
      my $info = LJ::TextMessage::provider_info($p);
      print "Name: $info->{'name'}\n";
      print "Notes: $info->{'notes'}\n";
      print "Limits: \n";
      foreach my $limit (qw(from msg tot)) {
          print "  $limit: ", $info->{"${limit}limit"}, "\n";
      }
  }
  my $phone = new LJ::TextMessage {
      'provider' => 'voicestream',
      'number' => '2045551212',
      'mailcommand' => '/usr/local/sbin/sendmail -t',
  };
  my @errors;
  $phone->send({ 'from' => 'Bob',
                 'message' => "Hello!  This is my message!" },
               \@errors);
  if (@errors) {
      ...
  } else {
      print "Message sent!\n";
  }

DESCRIPTION
The synopsis pretty much shows all the functionality that's available, but details would be nice here.

BUGS
This library is highly volatile, as cellphone and pager providers can change the details of their web or email gateways at any time. In practice I haven't had to update this library much, but providers have no responsibility to tell me when they change their form field names on their website, or change URLs*.

This documentation sucks rancid goats**.

* - This will, of course, change once LJ has conquered the world. ** - No, not Frank.

AUTHOR
Written by:
  Nicholas Tang (ntang@livejournal.com)

and members of the LJ Textmessage community:
  - l2g
  - delphy
  - rory
  - tsutton (if you've been forgotten, please give a holler!)

Based on (mostly still, actually) code by:
  Brad Fitzpatrick, bradfitz@bradfitz.com

Information about text messaging gateways from many.