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


SMS-Send-TW-PChome documentation  | view source Contained in the SMS-Send-TW-PChome distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  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

Top

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

METHODS

Top

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

Top

* Send::SMS
* WWW::Mechanize

BUGS

Top

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

AUTHOR

Top

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

COPYRIGHT AND LICENSE

Top


SMS-Send-TW-PChome documentation  | view source Contained in the SMS-Send-TW-PChome distribution.