logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Ricardo Signes <cpan@semiotic.systems>

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.

Name

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

Perl Version

       This library should run on perls released even a long time ago.  It should work on any version of perl
       released in the last five years.

       Although it may work on older versions of perl, no guarantee is made that the minimum required version
       will not be increased.  The version may be increased for any reason, and there is no promise that patches
       will be accepted to lower the minimum required perl.

Version

       version 2.601

See Also