***** infoCopter.com/perl *****
Kannel::SMSKannel/SMS - Send SMS via Kannel in OO StyleSMSSection: User Contributed Perl Documentation (3)Updated: 2003-10-28 Index NAMEKannel::SMS - Perl extension for the Kannel SMS GatewaySYNOPSISuse 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; DESCRIPTIONStub documentation for Kannel::SMS, created by h2xs. It looks like the author of the extension was negligent enough to leave the stub unedited.EXAMPLEuse 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 ALSOMention 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. AUTHORConrad M. Peyer <conrad.peyer@nospam-sunrise.net>COPYRIGHT AND LICENSECopyright 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.
IndexThis document was created by man2html, using the manual pages. Time: 10:35:33 GMT, October 29, 2003 Download Kannel-SMS-0.10.tar.gz |