Email::Send::Qmail - Send Messages using qmail-inject
use Email::Send; Email::Send->new({mailer => 'Qmail'})->send($message);
This mailer for Email::Send uses qmail-inject to put a message in the Qmail spool. It does not try hard to find the executable. It just calls qmail-inject and expects it to be in your path. If that's not the case, or you want to explicitly define the location of your executable, alter the $Email::Send::Qmail::QMAIL package variable.
Email::Send
qmail-inject
$Email::Send::Qmail::QMAIL
$Email::Send::Qmail::QMAIL = '/usr/sbin/qmail-inject';
Any arguments passed to send will be passed to qmail-inject.
send
Email::Send, perl.
Casey West, <casey@geeknest.com>.
Copyright (c) 2004 Casey West. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Email::Send, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Email::Send
CPAN shell
perl -MCPAN -e shell install Email::Send
For more information on module installation, please visit the detailed CPAN module installation guide.