{"action":"created","issue":{"url":"https://api.github.com/repos/NLog/NLog/issues/690","labels_url":"https://api.github.com/repos/NLog/NLog/issues/690/labels{/name}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/690/comments","events_url":"https://api.github.com/repos/NLog/NLog/issues/690/events","html_url":"https://github.com/NLog/NLog/issues/690","id":73093404,"number":690,"title":"useSystemNetMailSettings doesn't work","user":{"login":"yang7749","id":12172827,"avatar_url":"https://avatars.githubusercontent.com/u/12172827?v=3","gravatar_id":"","url":"https://api.github.com/users/yang7749","html_url":"https://github.com/yang7749","followers_url":"https://api.github.com/users/yang7749/followers","following_url":"https://api.github.com/users/yang7749/following{/other_user}","gists_url":"https://api.github.com/users/yang7749/gists{/gist_id}","starred_url":"https://api.github.com/users/yang7749/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yang7749/subscriptions","organizations_url":"https://api.github.com/users/yang7749/orgs","repos_url":"https://api.github.com/users/yang7749/repos","events_url":"https://api.github.com/users/yang7749/events{/privacy}","received_events_url":"https://api.github.com/users/yang7749/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NLog/NLog/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-04T18:34:10Z","updated_at":"2015-05-10T22:42:15Z","closed_at":null,"body":"MailTarget's useSystemNetMailSettings parameter doesn't seem to work.\r\n\r\nNLog.config:\r\n```\r\n<target xsi:type=\"Mail\" name=\"Email\" from=\"test@test.com\" to=\"test@test.com\" useSystemNetMailSettings=\"false\"\r\n            smtpServer=\"localhost\" smtpPort=\"25\" timeout=\"30000\"\r\n            subject=\"test\" \r\n            body=\"test\" />\r\n```\r\n\r\nweb.config:\r\n```\r\n<system.net>\r\n        <mailSettings>\r\n            <smtp deliveryMethod=\"SpecifiedPickupDirectory\">\r\n                <specifiedPickupDirectory pickupDirectoryLocation=\"C:\\TEMP\\email_out\" />\r\n            </smtp>\r\n        </mailSettings>\r\n    </system.net>\r\n```\r\n\r\nThe logger still add files to \"C:\\TEMP\\email_out\" whenever it tries to send email"},"comment":{"url":"https://api.github.com/repos/NLog/NLog/issues/comments/100711167","html_url":"https://github.com/NLog/NLog/issues/690#issuecomment-100711167","issue_url":"https://api.github.com/repos/NLog/NLog/issues/690","id":100711167,"user":{"login":"Xharze","id":498258,"avatar_url":"https://avatars.githubusercontent.com/u/498258?v=3","gravatar_id":"","url":"https://api.github.com/users/Xharze","html_url":"https://github.com/Xharze","followers_url":"https://api.github.com/users/Xharze/followers","following_url":"https://api.github.com/users/Xharze/following{/other_user}","gists_url":"https://api.github.com/users/Xharze/gists{/gist_id}","starred_url":"https://api.github.com/users/Xharze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xharze/subscriptions","organizations_url":"https://api.github.com/users/Xharze/orgs","repos_url":"https://api.github.com/users/Xharze/repos","events_url":"https://api.github.com/users/Xharze/events{/privacy}","received_events_url":"https://api.github.com/users/Xharze/received_events","type":"User","site_admin":false},"created_at":"2015-05-10T22:42:15Z","updated_at":"2015-05-10T22:42:15Z","body":"@304NotModified I read it as the host and port won't be read from the config file, but other settings will. We'll have to try it, to which is correct."}}