The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SMS::Send::US::Ipipi - An SMS::Send driver for the ipipi.com website

VERSION

Version 0.03

SYNOPSIS

  # Get the sender and login
  my $sender = SMS::Send->new('US::Ipipi',
        _login    => 'username',
        _password => 'password',
        );
  
  my $sent = $sender->send_sms(
        text => 'Messages have a limit of 160 chars',
        to   => '212-555-1212',
        );
  
  # Did it send?
  if ( $sent ) {
        print "Sent test message\n";
  } else {
        print "Test message failed\n";
  }

DESCRIPTION

SMS::Send::US::Ipipi is a SMS::Send driver that delivers messages via the http://ipipi.com website.

Preparing to Use This Driver

You need to sign up for an account at http://ipipi.com to be able to use this driver.

Disclaimer

Using this driver may cost you money. YOU HAVE BEEN WARNED

METHODS

new

  # Create a new sender using this driver
  my $sender = SMS::Send->new(
        _login    => 'username',
        _password => 'password',
        );

The new constructor takes two parameters, which should be passed through from the SMS::Send constructor.

The params are driver-specific for now, until SMS::Send adds a standard set of params for specifying the login and password.

_login

The _login param should be your ipipi.com login.

_password

The _password param should be your ipipi.com password.

Returns a new SMS::Send::US::Ipipi object, or dies on error.

send_sms

  This method is actually called by SMS::Send when you call send_sms on it.

  my $sent = $sender->send_sms(
        text => 'Messages have a limit of 160 chars',
        to   => '212-555-1212',
        );

AUTHOR

Andrew Moore, <andrew.moore at liblime.com>

BUGS

Please report any bugs or feature requests to bug-sms-send-ipipi at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SMS-Send-US-Ipipi. 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 SMS::Send::US::Ipipi

You can also look for information at:

ACKNOWLEDGEMENTS

Thanks to Adam Kennedy <adamk@cpan.org>, http://ali.as/ for writing SMS::Send and for SMS::Send::AU::MyVodafone which I copied for this module.

COPYRIGHT & LICENSE

Copyright (C) 2008 LibLime http://liblime.com

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.

Additionally, you are again reminded that this software comes with no warranty of any kind, including but not limited to the implied warranty of merchantability.

ANY use my result in charges on your ipipi.com bill, and you should use this software with care. The author takes no responsibility for any such charges accrued.