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

Fix unneeded breaking change with requirement of MailTarget.SmtpServer #755

Merged
merged 5 commits into from
Jun 15, 2015
Merged

Fix unneeded breaking change with requirement of MailTarget.SmtpServer #755

merged 5 commits into from
Jun 15, 2015

Conversation

304NotModified
Copy link
Member

This was changed in 4.0 by #523

Add RequiredParameterAttribute to the SmtpServer property - it should be required according to the documentation. Breaking change?

There is no need to make a breaking change of this and it's confusing to away require this property,

fix: only require SmtpServer when useSystemNetMailSettings=false.

fixes #739

@304NotModified 304NotModified added this to the 4.0.1 milestone Jun 13, 2015
@304NotModified 304NotModified self-assigned this Jun 13, 2015
@ghost
Copy link

ghost commented Jun 15, 2015

Is this done?

@304NotModified
Copy link
Member Author

yes it is.

304NotModified added a commit that referenced this pull request Jun 15, 2015
Fix unneeded breaking change with requirement of MailTarget.SmtpServer
@304NotModified 304NotModified merged commit 6ea0749 into NLog:master Jun 15, 2015
@304NotModified
Copy link
Member Author

That's strange. Is UseSystemNetMailSettings set to true?

@304NotModified 304NotModified added the documentation done all docs done (wiki, api docs, lists on nlog-project.org, xmldocs) label Jan 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report / Bug fix documentation done all docs done (wiki, api docs, lists on nlog-project.org, xmldocs) needs documentation on wiki
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant