NAME

SMS::Send::CZ::Neogate - SMS::Send driver for Neogate - Czech Republic

VERSION

version 1.000

SYNOPSIS

use SMS::Send;

  my $sender = SMS::Send->new('CZ::Neogate',
        _login    => 'who',
        _password => 'secret',
        );
  
  my $sent = $sender->send_sms(
        text => 'Test SMS',
        to   => '604111111',
        );
  
  # Did it send?
  if ( $sent ) {
        print "Sent test message\n";
  } else {
        print "Test message failed\n";
  }

METHODS

get_salt

Generates random salt made up from 30-49 characters

send_sms

Sends the message using prividers API at https://api.smsbrana.cz/smsconnect/http.php and takes additional arguments: 'text' containgin the message itself and 'to' with recipient's number.

Processing information is automatically logged to /var/log/neogate.log to allow tracking of possible problems.

Returns true if the msssage was successfully sent

Returns false if an error occured

AUTHOR

Radek Šiman <rbit@rbit.cz>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by R-Bit Technology, s.r.o.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.