Net::SMS::Massenversand - Send SMS via Massenversand.de
use Net::SMS::Massenversand; my $sms = Net::SMS::Massenversand->new(); $sms->user('someuserid'); $sms->password('somepassword'); $sms->send( type => "sms", message => "Your SMS text", sender => 'Your Name', recipient => '00123456789' ); my $limit = $sms->limit;
Create a new object.
Sets the user id of your Massenversand.de account
Sets the password of your Massenversand.de account
This method returns the credit which is left at your account.
Sets "error" in case of an error.
Sends the actual message. It is called with a hash which includes the necessary information. This method expects a latin1 encoded string as message. Available parameters are:
Set the phone number of the receiver (international format starting with "00")
11 alphanumerical or 16 numerical characters allowed. Allowed characters: a-z, A-Z and 0-9
The actual message you want to send. Mind that the maximum length of a sms is 160. If you want to send more than 160 characters specify
Specify the type of your sms message. Avaiable types are
There are three Massenversand.de servers specified. If one fails the next one is used. The timeout for a request is set to 15 seconds.
Returns 1 on success or 0 and sets "error" in case of an error.
<laux at netcubed.de>,
<onken at netcubed.de>
Please report any bugs or feature requests to
bug-net-sms-massenversand at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-SMS-Massenversand. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Copyright 2008 netCubed GbR, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.