David Dick > Net-SMS-MessageNet-0.65 > Net::SMS::MessageNet

Download:
Net-SMS-MessageNet-0.65.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.65   Source  

NAME ^

Net::SMS::MessageNet - Send SMS messages via the messagenet.com.au service

SYNOPSIS ^

  perl -MNet::SMS::MessageNet -e 'send_sms($user_name, $password, $phone_number, $message);'
  perl -MNet::SMS::MessageNet -e 'Net::SMS::MessageNet->new($user_name, $password)->send($phone_number, $message);'

DESCRIPTION ^

This module allows sending sms messages via https to the messagenet.com.au service

Functions ^

new ( $username, $password )

returns a new object for sending sms messages. The username and password parameters are from your messagenet.com.au account. A test account can be obtained from messagenet.com.au

send ( $phone_number, $message )

sends the contents of $message to the telephone number $phone_number. $phone_number should to a fully qualified phone number including country code. For example, an australian phone number may be '61412345678'. A complete list of available services may be found at http://www.messagenet.com.au/dotnet/Lodge.asmx. This module is only currently implementing the LodgeSMSMessage interface.

send_sms ( $username, $password, $phone_number, $message )

a shortcut to calling new and send. provided to allow greater ease of use for one liners. :)

AUTHOR ^

David Dick <ddick@cpan.org>

PREREQUISITES ^

Uses LWP, HTTP::Cookies, Net::HTTPS and URI::Escape modules.

BUGS ^

None known at this point

COPYRIGHT ^

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