
Mail::QmailRemote - Perl extension to send email using qmail-remote directly.

use Mail::QmailRemote;
use Mime::Lite;
# generate mail.
my $mime = MIME::Lite->new(
...
);
# send mail using qmail-remote
my $remote = Mail::QmailRemote->new;
$remote->sender($ENV{USER});
$remote->recipient('postmaster@foo.bar');
$remote->data($mime->as_string);
$remote->send;

this module send email, using qmail-remote program directly. MX or A Record is searched by Net::DNS module.

construtor for Mail::QmailRemote object. QMAIL_REMOTE is location of qmail-remote program (default /var/qmail/bin/qmail-remote)

set sender's mail address.
Synonym for sender.
set recipient's mail address.
Synonym for recipient.
set mail message. (including header.)
send mail.
if some problem has occured, return error message from qmail-remote.

IKEBE Tomohiro <ikebe@cpan.org>

Net::DNS IPC::Open3 Mail::QmailQueue

Copyright(C) 2001 IKEBE Tomohiro All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.