***** infoCopter.com/perl *****

Kannel::SMS

Kannel/SMS - Send SMS via Kannel in OO Style

SMS

Section: User Contributed Perl Documentation (3)
Updated: 2003-10-28
Index
 

NAME

Kannel::SMS - Perl extension for the Kannel SMS Gateway  

SYNOPSIS

  use Kannel::SMS;

  $SMS = Kannel::SMS->new( USER => "kanneluser",
                           PASS => "kannelpass",
                           SERV => "kannelpass",
                           [PORT  => 13002,]
                           [PATH  => "cgi-bin/sendsms,]
                           [PORT  => 13002,]
                           [SSL   => 0,]
                           [DEBUG => 0,]
  );

  $SMS->send( TO   => 0765551234,
              MSG  => "Welcome to the world of SMS!",
                          [FROM => 0796661234,]
  );

  $retval = $SMS->retval;

 

DESCRIPTION

Stub documentation for Kannel::SMS, created by h2xs. It looks like the author of the extension was negligent enough to leave the stub unedited.

Blah blah blah.  

EXAMPLE

  use Kannel::SMS;

  $SMS = Kannel::SMS->new( USER => "itsme",
                           PASS => "mypass",
                           SERV => "sms.foo.bar",
                           PORT  => 13123,
                           DEBUG => 1,
  );
  die ("Error: " . $SMS->retval ."\n") if $SMS->retval;

  $SMS->send( TO   => 0765551234,
              MSG  => "Welcome to the world of SMS!",
  );
  die ("Error: " . $SMS->retval ."\n") if $SMS->retval;

 

SEE ALSO

Mention other useful documentation such as the documentation of related modules or operating system documentation (such as man pages in UNIX), or any relevant external documentation such as RFCs or standards.

If you have a mailing list set up for your module, mention it here.

If you have a web site set up for your module, mention it here.  

AUTHOR

Conrad M. Peyer <conrad.peyer@nospam-sunrise.net>
 

COPYRIGHT AND LICENSE

Copyright 2003 by TDC Switzerland AG, Conrad M. Peyer <conrad.peyer@nospam-sunrise.net>

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLE
SEE ALSO
AUTHOR
COPYRIGHT AND LICENSE

This document was created by man2html, using the manual pages.
Time: 10:35:33 GMT, October 29, 2003

Download Kannel-SMS-0.10.tar.gz

© reto :)