SMS::Send::Smstrade - A SMS::Send driver for the smstrade.de service
version 0.03
# create the sender object my $sender = SMS::Send::->new('Smstrade', _apikey => '123', _route => 'basic', ); # send a message my $sent = $sender->send_sms( text => 'You message may use up to 160 chars', to' => '+49 555 4444', # always use the intl. calling prefix ); if ( $sent ) { print "Sent message\n"; } else { print "Failed to send test message\n"; }
SMS::Send::Smstrade is an international SMS::Send driver for the smstrade service. It is a paid service which offers very competitive prices.
You need to sign-up on http://www.smstrade.eu and get an API key.
This API key is used instead of a username and password to authenticate yourself.
The authors of this driver take no responibility for any cost accured on your bill by using this module.
Using this driver will cost you money. YOU HAVE BEEN WARNED
# Create new sender using this driver. my $sender = SMS::Send::->new( 'Smstrade', _apikey => '123', _route => 'basic', );
The new constructor requires at least one parameter, which should be passed throuh from the SMS::Send constructor.
new
The _apikey param is the api key you get after signing up with smstrade.
_apikey
The _route param determines how much the messages sent will cost you. The more expensive routes offer you more options. See http://www.smstrade.eu for more details. Not all features of the different routes are supported right now.
_route
Returns a new SMS::Send::Smstrade object, or dies on error.
SMS::Send::Smstrade
List all known response codes with their explaination.
Send an SMS. See SMS::Send for the details.
Dominik Schulz, <dominik.schulz at gauner.org>
<dominik.schulz at gauner.org>
Please report any bugs or feature requests to bug-sms-send-smstrade at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SMS-Send-Smstrade. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-sms-send-smstrade at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc SMS::Send::Smstrade
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=SMS-Send-Smstrade
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/SMS-Send-Smstrade
CPAN Ratings
http://cpanratings.perl.org/d/SMS-Send-Smstrade
Search CPAN
http://search.cpan.org/dist/SMS-Send-Smstrade/
Copyright 2012 Dominik Schulz.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install SMS::Send::Smstrade, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SMS::Send::Smstrade
CPAN shell
perl -MCPAN -e shell install SMS::Send::Smstrade
For more information on module installation, please visit the detailed CPAN module installation guide.