SMS::AQL

Perl extension to send SMS text messages via AQ's SMS service
Download

SMS::AQL Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • David Precious
  • Publisher web site:
  • http://search.cpan.org/~bigpresh/

SMS::AQL Tags


SMS::AQL Description

Perl extension to send SMS text messages via AQ's SMS service SMS::AQL is a Perl module that provides a nice object-oriented interface to send SMS text messages using the HTTP gateway provided by AQ Ltd (www.aql.com) in the UK.It supports concatenated text messages (over the 160-character limit of normal text messages, achieved by sending multiple messages with a header to indicate that they are part of one message (this is handset-dependent, but supported by all reasonably new mobiles).SYNOPSIS # create an instance of SMS::AQL, passing it your AQL username # and password (if you do not have a username and password, # register at www.aql.com first). $sms = new SMS::AQL({ username => 'username', password => 'password' }); # other parameters can be passed like so: $sms = new SMS::AQL({ username => 'username', password => 'password', options => { sender => '+4471234567' } }); # send an SMS: $sms->send_sms($to, $msg) || die; # called in list context, we can see what went wrong: my ($ok, $why) = $sms->send_sms($to, $msg); if (!$ok) { print "Failed, error was: $why "; } # params for this send operation only can be supplied: $sms->send_sms($to, $msg, { sender => 'bob the builder' }); # make a phone call and read out a message: my ($ok, $why) = $sms->voice_push($to, $msg); Requirements: · Perl


SMS::AQL Related Software