Alex Arnaud

NAME

SMS::Send::Fr::OVH - Perl driver for SMS::Send library.

SYNOPSIS

  use SMS::Send::Fr::OVH;

  # Create a sender
  my $sender = SMS::Send->new('Fr::OVH',
      _account => 'sms-ab1234-1',
      _login => 'sms_user_name',
      _password => 'pass',
      _from => 'ovh_sender_name'
      _transform_number => [
           { match_re => '^+33', replace_re => '0033' },
      ]
  );

  # Send a message
  my $sent = $sender->send_sms(
      text => 'This is a test message',
      to   => '003361*****20'
  );

DESCRIPTION

SMS::Send::Fr::OVH - SMS::Send driver to send messages via OVH SMS API.

METHODS

new

Constructor.

send_sms

Send the message - see SMS::Send for details.

transform_number

Transform a phone number according to the regular expressions provided to the constructor.

AUTHOR

Alex Arnaud, <gg.alexarnaud@gmail.com>