SMS::Send::BR::Facilitamovel - SMS::Send driver for the Facilita Movel service
version 0.03
use SMS::Send; my $sender = SMS::Send->new('BR::Facilitamovel', _login => 'foo', _password => 'bar', ); my $sent = $sender->send_sms( 'text' => 'This is a test message', 'to' => '19991913030', ); # Did the send succeed. if ( $sent ) { print "Message sent ok\n"; } else { print 'Failed to send message\n"; }
This module currently uses the HTTP API.
It is called by "send_sms" in SMS::Send and passes all arguments starting with an underscore to the request having the first underscore removed as shown in the SYNOPSIS above.
It returns a boolean value telling if the message was successfully sent or not.
It throws an exception if a fatal error like a http timeout in the underlying connection occurred.
Mario Celso Teixeira <marioct37@gmail.com>
This software is copyright (c) CPqD 2016 by Mario Celso Teixeira.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install SMS::Send::BR::Facilitamovel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SMS::Send::BR::Facilitamovel
CPAN shell
perl -MCPAN -e shell install SMS::Send::BR::Facilitamovel
For more information on module installation, please visit the detailed CPAN module installation guide.