Net::QMQP - Quick Mail Queueing Protocol Client for qmail
use Net::QMQP; $qmqp = Net::QMQP->new(host => 'qmqpserver',Timeout => 60); $qmqp->sender('kobayasi@piano.gs'); $qmqp->recipients('miyagawa@bulknews.net'); $qmqp->message($mail_message); $qmqp->queueing();
THIS IS ALPHA SOFTWARE AND NO TEST!
The Net::QMQP module implements a client interface to the QMQP protocol.
This is the constructor for a new Net::QMQP object.
OPTIONS are passed in a hash like fashion, using key and value pairs. Possible options are:
timeout - Maximum time, in seconds, to wait for a response from the QMQP server (default: 120)
debug - Enable debugging information (default: 0)
host - The name of the remote host to which a QMQP connection is required.(default: localhost)
port - The using port.
sender - The sender e-mail address
recipients - The recipients' address(es). (array reference or scalar)
message - The message body.
Queueing the mail to the QMQP server.
There are accessors. Example:
$obj->sender('kobayasi@piano.gs'); # sets the param. $obj->recipients([qw( kobayasi@piano.gs miyagawa@bulknews.net )]);
Kobayasi Hiroyuki <kobayasi@piano.gs>
This library is free software; upi can redistribute it and/or modify it under the same terms as Perl itself.
IO::Socket::INET
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Net::QMQP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::QMQP
CPAN shell
perl -MCPAN -e shell install Net::QMQP
For more information on module installation, please visit the detailed CPAN module installation guide.