SMS::Send::TW::Socket2Air - SMS::Send driver for HiNet Socket2Air
use SMS::send;
my $sender = SMS::Send->new('TW::Socket2Air', _username => 'UserName', _password => 'Password', _proxy_host => 'proxy.to.specified', _proxy_port => 3128, _proxy_type => 'http', );
my $sent = $sender->send_sms( text => 'My very urgent message', to => '0912345678', );
SMS::Send::TW::Socket2Air is a SMS::Send driver which allows you to send messages through http://sms.hinet.net/new/.
The new method takes a few parameters. _username and _password > are mandatory.
new
_username
_password
Takes to as recipient phonenumber, and text as the utf-8 encoded text that's supposed to be delivered.
to
text
Send::SMS
IO::Socket
LWP::UserAgent
Jui-Nan Lin, <jnlin@csie.nctu.edu.tw>
Copyright (C) 2010 by Jui-Nan Lin
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install SMS::Send::TW::Socket2Air, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SMS::Send::TW::Socket2Air
CPAN shell
perl -MCPAN -e shell install SMS::Send::TW::Socket2Air
For more information on module installation, please visit the detailed CPAN module installation guide.