SMS::Send::NL::MyVodafone - An SMS::Send driver for the my.vodafone.nl website
use SMS::Send; # Get the sender and login my $sender = SMS::Send->new('NL::MyVodafone', _login => '0612345678', # phone number or loginname _password => 'mypasswd', # your reqistered password from my.vodafone.nl ); # Send a message to ourself my $sent = $sender->send_sms( text => 'Messages have a limit of 125 chars', to => '0687654321', ); # Did it send? if ( $sent ) { print "Sent test message\n"; } else { print "Test message failed\n"; }
SMS::Send::NL::MyVodafone is a SMS::Send driver which allows you to send messages through http://my.vodafone.nl/
The new method takes a few parameters. _login and _password are mandatory.
new
_login
_password
The _login parameter can be your phone number or the username you've set on http://my.vodafone.nl/
The _password parameter is the password you've set at the site, and should contain only alphanumeric characters with a minimum of 6.
Takes to as recipient phonenumber, and text as the text that's supposed to be delivered.
to
text
to can be in three formats, 0612345678, +31612345678, or 0031612345678. Whitespaces and hyphens are ignored.
text has a limit of 125 characters.
Send::SMS
http://my.vodafone.nl/
Please report any bugs to http://rt.cpan.org/Ticket/Create.html?Queue=Send-SMS-NL-MyVodafone
M. Blom <blom@cpan.org> http://menno.b10m.net/perl/
Unfortunately, the author is not allowed to use SMS::Send::DE::MeinBMW... ;-)
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install SMS::Send::NL::MyVodafone, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SMS::Send::NL::MyVodafone
CPAN shell
perl -MCPAN -e shell install SMS::Send::NL::MyVodafone
For more information on module installation, please visit the detailed CPAN module installation guide.