GitHub user albinsunnanbo opened a pull request:
https://github.com/apache/log4net/pull/19
File extension for smtp appender
Add a configuration option for adding a file extension to the generated
mails.
Updated patch from https://issues.apache.org/jira/browse/LOG4NET-473
Based on https://github.com/apache/log4net/pull/17
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/albinsunnanbo/log4net
FileExtensionForSmtpAppender
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/log4net/pull/19.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #19
----
commit 899579668d6b75711a425005fa4861fdeb3932e1
Author: Albin Sunnanbo <[email protected]>
Date: 2015-11-01T09:35:54Z
Create basic SmtpPickupDirAppenderTest
commit 9f0a9e0857d58cec19673de95c2a28292dfdc171
Author: Albin Sunnanbo <[email protected]>
Date: 2015-10-31T21:32:41Z
Add option for file extensions to the SmtpPickupDirAppender
- 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.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---