Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mailtarget allow empty 'To' and various code improvements #601

Merged
6 commits merged into from
Mar 19, 2015
Merged

Mailtarget allow empty 'To' and various code improvements #601

6 commits merged into from
Mar 19, 2015

Conversation

304NotModified
Copy link
Member

  • Allow empty 'To' (but at least To, CC or Bcc) should be set. Fixes MailTarget: remove mandatory To requirement  #599
  • Created a single method to create the message (was before scatterd)
  • Removed some code duplication on adding the addresses (parsing and
    rendering)
  • Always log the error in the log
  • added some comments

- Allow empty 'To' (but at least To, CC or Bcc) should be set
- Created a single method to create the message (was before scatterd)
- Removed some code duplication on adding the addresses (parsing and
rendering)
- added some comments
@304NotModified 304NotModified changed the title Mailtarget allow empty to Mailtarget allow empty 'To' and various code improvements Feb 21, 2015
@304NotModified 304NotModified added enhancement Improvement on existing feature feature labels Feb 21, 2015
@304NotModified
Copy link
Member Author

Ready for merge

added docs and removed duplicate code
added ctor with string.format in `NLogRuntimeException` for
easier/cleaner exception handling
@304NotModified
Copy link
Member Author

Added some more code improvements and refactoring

ghost pushed a commit that referenced this pull request Mar 19, 2015
Mailtarget allow empty 'To' and various code improvements
@ghost ghost merged commit d9cfa65 into NLog:master Mar 19, 2015
@304NotModified 304NotModified added this to the 4.0 milestone Mar 27, 2015
@304NotModified 304NotModified deleted the mailtarget-allow-empty-to branch March 27, 2015 22:32
kevindaub pushed a commit to kevindaub/NLog-wiki that referenced this pull request Jul 31, 2015
@304NotModified 304NotModified added the documentation done all docs done (wiki, api docs, lists on nlog-project.org, xmldocs) label Jan 14, 2018
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation done all docs done (wiki, api docs, lists on nlog-project.org, xmldocs) enhancement Improvement on existing feature feature mail-target needs documentation on wiki
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants