The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SMS::Send::NL::MyVodafone - An SMS::Send driver for the my.vodafone.nl website

SYNOPSIS

  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";
  }

DESCRIPTION

SMS::Send::NL::MyVodafone is a SMS::Send driver which allows you to send messages through http://my.vodafone.nl/

METHODS

new

The new method takes a few parameters. _login and _password are mandatory.

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.

send_sms

Takes to as recipient phonenumber, and text as the text that's supposed to be delivered.

to can be in three formats, 0612345678, +31612345678, or 0031612345678. Whitespaces and hyphens are ignored.

text has a limit of 125 characters.

SEE ALSO

BUGS

Please report any bugs to http://rt.cpan.org/Ticket/Create.html?Queue=Send-SMS-NL-MyVodafone

AUTHOR

M. Blom <blom@cpan.org> http://menno.b10m.net/perl/

Unfortunately, the author is not allowed to use SMS::Send::DE::MeinBMW... ;-)

COPYRIGHT

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.