SMS::Send::AQL - SMS::Send driver to send messages via AQL (www.aql.com)


SMS-Send-AQL documentation  | view source Contained in the SMS-Send-AQL distribution.

Index


NAME

Top

SMS::Send::AQL - SMS::Send driver to send messages via AQL (www.aql.com)

SYNOPSIS

Top

  use SMS::Send;

  # Create a sender
  my $sender = SMS::Send->new('AQL',
        _login    => 'your_aql_username',
        _password => 'your_aql_password',
        _sender   => 'sender number',
  );

  # Send a message
  my $sent = $sender->send_sms(
        text => 'This is a test message',
        to   => '+61 (4) 1234 5678',
  );

  if ( $sent ) {
        print "Message sent ok\n";
  } else {
        print "Failed to send message\n";
  }




DESCRIPTION

Top

A driver for SMS::Send to send SMS text messages via AQL (www.aql.com)

This is not intended to be used directly, but instead called by SMS::Send (see synopsis above for a basic illustration, and see SMS::Send's documentation for further information).

METHODS

Top

new

Constructor, takes argument pairs passed by SMS::Send, returns an SMS::Send::AQL object. See usage synopsis for example, and see SMS::Send documentation for further info on using SMS::Send drivers.

send_sms

Send the message - see SMS::Send for details.

AUTHOR

Top

David Precious, <davidp@preshweb.co.uk>

COPYRIGHT AND LICENSE

Top


SMS-Send-AQL documentation  | view source Contained in the SMS-Send-AQL distribution.