David Leadbeater > SMS-Send-UK-AA > SMS::Send::UK::AA

Download:
SMS-Send-UK-AA-0.004.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.004   Source  

NAME ^

SMS::Send::UK::AA - Send SMS messages using Andrews and Arnold's gateway

VERSION ^

version 0.004

SYNOPSIS ^

  use SMS::Send;

  my $sender = SMS::Send->new("UK::AA",
    _login    => '0123xxxxxx',
    _password => 'secret');

  my $sent = $sender->send_sms(
    text => 'y u no txt bak',
    to   => '+44 7xxx xxxxx'
  );

  if($sent) {
    say "Message successfully sent";
  }

DESCRIPTION ^

This is a SMS::Send compatible module that sends using the UK based provider Andrews and Arnold Ltd (A&A). You will need a VoIP account with A&A in order to use this module.

METHODS ^

send_sms

Sends an SMS. The return value will evaluate in boolean context to a false value, but will stringify to a useful message. It also has a status_line method which will return a one line status.

PARAMETERS ^

Certain private parameters not part of SMS::Send's API are implemented by this module. They all begin with an underscore (_). See the A&A docs for full details if not explained here.

Constructor parameters

send_sms parameters

These parameters may be provided to either the constructor or the send_sms method.

SEE ALSO ^

AUTHOR ^

David Leadbeater <dgl@dgl.cx>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 by David Leadbeater.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: