Email::LocalDelivery - Deliver a piece of email - simply
use Email::LocalDelivery; my @delivered_to = Email::LocalDelivery->deliver($mail, @boxes);
This module delivers an email to a list of mailboxes.
This takes an email, as a plain string, and a list of mailboxes to deliver that mail to. It returns the list of boxes actually written to. If no boxes are given, it assumes the standard Unix mailbox. (Either $ENV{MAIL}, /var/spool/mail/you, /var/mail/you, or ~you/Maildir/)
$ENV{MAIL}
This module is maintained by the Perl Email Project
http://emailproject.perl.org/wiki/Email::LocalDelivery
To report bugs, please use the request tracker at http://rt.cpan.org. For all other information, please contact the PEP mailing list (see the wiki, above) or Ricardo SIGNES.
Copyright 2003 by Simon Cozens
Copyright 2004 by Casey West
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Email::LocalDelivery, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Email::LocalDelivery
CPAN shell
perl -MCPAN -e shell install Email::LocalDelivery
For more information on module installation, please visit the detailed CPAN module installation guide.