Ricardo SIGNES > Email-Sender-1.300006 > Email::Sender::Transport::Maildir

Download:
Email-Sender-1.300006.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  2
Open  1
View/Report Bugs
Module Version: 1.300006   Source   Latest Release: Email-Sender-1.300011

NAME ^

Email::Sender::Transport::Maildir - deliver mail to a maildir on disk

VERSION ^

version 1.300006

DESCRIPTION ^

This transport delivers into a maildir. The maildir's location may be given as the dir argument to the constructor, and defaults to Maildir in the current directory (at the time of transport initialization).

If the directory does not exist, it will be created.

By default, three headers will be added:

 * X-Email-Sender-From - the envelope sender
 * X-Email-Sender-To   - the envelope recipients (one header per rcpt)
 * Lines               - the number of lines in the body

These can be controlled with the add_lines_header and add_envelope_headers constructor arguments.

The Email::Sender::Success object returned on success has a filename method that returns the filename to which the message was delivered.

AUTHOR ^

Ricardo Signes <rjbs@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Ricardo Signes.

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

syntax highlighting: