NAME
SMS::Send::Smstrade - An SMS::Send driver for the smstrade.de service
VERSION
Version 0.02
SYNOPSIS
# 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";
}
DESCRIPTION
SMS::Send::Smstrade is an international SMS::Send driver for the smstrade service. It is a paid service which offers very competitive prices.
Preparing to use this driver
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.
Disclaimer
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
METHODS
new
# 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.
- _apikey
-
The
_apikey
param is the api key you get after signing up with smstrade. - _route
-
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.Returns a new
SMS::Send::Smstrade
object, or dies on error.
responses
List all known response codes with their explaination.
send_sms
Send an SMS. See SMS::Send for the details.
AUTHOR
Dominik Schulz, <dominik.schulz at gauner.org>
BUGS
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.
SUPPORT
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
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
LICENSE AND COPYRIGHT
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.