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
qmail-remote(8)
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.
1 POD Error
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
To install Mail::QmailRemote, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::QmailRemote
CPAN shell
perl -MCPAN -e shell install Mail::QmailRemote
For more information on module installation, please visit the detailed CPAN module installation guide.