Rúben Fonseca > Net-SMS-Optimus-0.05 > Net::SMS::Optimus

Download:
Net-SMS-Optimus-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.05   Source  

NAME ^

Net::SMS::Optimus - Send SMS through www.optimus.pt

VERSION ^

Version 0.05

SYNOPSIS ^

This module exports just one function that is responsible for sending your sms through www.optimus.pt portal.

    use Net::SMS::Optimus;

    send_sms($username, $password, $number, $msg);

EXPORT ^

send_sms

FUNCTIONS ^

send_sms

This function does all the magic. It receives the following arguments:

username

The username to the portal

password

...

number

A string containing the destination number

message

A string (no longer than 152 chars) containing the message to be sent.

The operation uses various phases, doing several connections to the website, trying to mimic a real human SMS send. If anything goes wrong, it croaks and returns.

AUTHOR ^

Ruben Fonseca, <root at cpan.org>

BUGS ^

Please report any bugs or feature requests to bug-net-sms-optimus at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-SMS-Optimus. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc Net::SMS::Optimus

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2007 Ruben Fonseca, all rights reserved.

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