NAME

Email::Sender::Transport::QMQP - send mail via QMQP

VERSION

version 0.001

METHODS

send_email

We connect to the QMQP service wherever specified, format the email and envelope information as appropriate, send it, then look for and parse the response, passing along the results appropriately.

DESCRIPTION

This transport sends mail by connecting to a host implementing the QMQP protocol (generally running either qmail or postfix).

If the hostname or the port of the QMQP server host is not provided in the constructor (see below) then the library will try localhost:628

To specify the QMQP server location, use the port and host parameters:

  my $sender = Email::Sender::Transport::QMQP->new({ host => $host, port => $port });

If host is set to an absolute file path (starting with '/'), it's assumed to be a Unix socket path, and is connected to accordingly.

AUTHOR

Michael Alan Dorman <mdorman@ironicdesign.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Ironic Design, Inc..

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