You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Albin Sunnanbo (JIRA)" <ji...@apache.org> on 2015/08/24 20:06:46 UTC

[jira] [Created] (LOG4NET-473) Option for file extension in SmtpPickupDirAppender

Albin Sunnanbo created LOG4NET-473:
--------------------------------------

             Summary: Option for file extension in SmtpPickupDirAppender
                 Key: LOG4NET-473
                 URL: https://issues.apache.org/jira/browse/LOG4NET-473
             Project: Log4net
          Issue Type: New Feature
    Affects Versions: 1.2.13
            Reporter: Albin Sunnanbo
         Attachments: SmtpPickupDirAppender-fileextension.patch

Especially on Windows file extensions are very handy, if you give the output files the `eml` extension you can just double click the file to open the mail in outlook.

I have added a `FileExtension` option to the `SmtpPickupDirAppender` that can be used to specify a file extension for the generated files.

Although a default value of `eml` would be nice I have preserved backwards compatibility of no file extension by default.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)