飄然似雪 > SMS-Send-TW-PChome-0.03 > SMS::Send::TW::PChome

Download:
SMS-Send-TW-PChome-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

SMS::Send::TW::PChome - SMS::Send driver for sms.pchome.com.tw

SYNOPSIS ^

  use SMS::Send;

  my $sender = SMS::Send->new('TW::PChome',
                  _username   => 'UserName',
                  _password   => 'Password',
                  _authcode   => 'AuthCode',
                );

  my $sent = $sender->send_sms(
                  text => 'My very urgent message',
                  to   => '0912345678',
             );

DESCRIPTION ^

SMS::Send::TW::PChome is a SMS::Send driver which allows you to send messages through http://sms.pchome.com.tw/.

METHODS ^

new

The new method takes a few parameters. _username , _password , and _authcode are mandatory. See WWW::Mechanize for details on these parameters.

send_sms

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

SEE ALSO ^

BUGS ^

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

AUTHOR ^

Tsung-Han Yeh, <snowfly@yuntech.edu.tw>

COPYRIGHT AND LICENSE ^

Copyright (C) 2007 by Tsung-Han Yeh

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.

syntax highlighting: