SMS::Send::Telenor - SMS::Send driver to send messages via Telenor SMS Pro
use SMS::Send;
# Create a sender
my $sender = SMS::Send->new('Telenor',
_login => 'your_aql_username',
_password => 'your_aql_password',
_sender => 'FROM ME', # Optional, can be hardcoded in file.
);
# Send a message
my $sent = $sender->send_sms(
text => 'This is a test message',
to => '+4612345678',
);
if ( $sent ) {
print "Message sent ok\n";
} else {
print "Failed to send message\n";
}
A driver for SMS::Send to send SMS text messages via Telenor SMS Pro API
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).
Eivin Giske Skaaren, <lt>[email protected]<gt>
Copyright (C) 2015 by Eivin Giske Skaaren
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.