NAME

Net::QMQP - Quick Mail Queueing Protocol Client for qmail

SYNOPSIS

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();

WARNING

THIS IS ALPHA SOFTWARE AND NO TEST!

DESCRIPTION

The Net::QMQP module implements a client interface to the QMQP protocol.

METHODS

new([ OPTIONS ])

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()

Queueing the mail to the QMQP server.

timeout(),sender(),debug(),host(),port(),sender(),recipients(),messsage()

There are accessors. Example:

$obj->sender('kobayasi@piano.gs'); # sets the param.
$obj->recipients([qw( kobayasi@piano.gs miyagawa@bulknews.net )]);

AUTHOR

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.

SEE ALSO

IO::Socket::INET

1 POD Error

The following errors were encountered while parsing the POD:

Around line 136:

You forgot a '=back' before '=head1'