{"action":"closed","issue":{"url":"https://api.github.com/repos/NLog/NLog/issues/557","labels_url":"https://api.github.com/repos/NLog/NLog/issues/557/labels{/name}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/557/comments","events_url":"https://api.github.com/repos/NLog/NLog/issues/557/events","html_url":"https://github.com/NLog/NLog/issues/557","id":56608478,"number":557,"title":"Buffered Email Not Buffering","user":{"login":"AdamDunn","id":2782436,"avatar_url":"https://avatars.githubusercontent.com/u/2782436?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamDunn","html_url":"https://github.com/AdamDunn","followers_url":"https://api.github.com/users/AdamDunn/followers","following_url":"https://api.github.com/users/AdamDunn/following{/other_user}","gists_url":"https://api.github.com/users/AdamDunn/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamDunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamDunn/subscriptions","organizations_url":"https://api.github.com/users/AdamDunn/orgs","repos_url":"https://api.github.com/users/AdamDunn/repos","events_url":"https://api.github.com/users/AdamDunn/events{/privacy}","received_events_url":"https://api.github.com/users/AdamDunn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NLog/NLog/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-05T00:11:39Z","updated_at":"2015-02-08T17:41:48Z","closed_at":"2015-02-08T17:41:48Z","body":"Hoping I could get some experts to look over my config file, as it doesn't seem to be working the way I was expecting. I'm using NLog 3.2.0 (the latest on NuGet) on an ASP.NET 3.5 website. I've got a mail target wrapped inside a BufferingWrapper, and was hoping it would take multiple NLog messages and put them into a single email (within the flushTimeout window). Instead I'm getting many emails with a single NLog line in each one (the NLog timestamp will be within a few hundred milliseconds among 20-30 emails). Are my expectations wrong, or is there something wrong with my config? I don't have any Flush() calls in my code. Are they necessary like in issue #171 ?\r\n\r\nMy NLog.config:\r\n```xml\r\n<targets async=\"true\">\r\n\t<target xsi:type=\"BufferingWrapper\" name=\"bufferedexchange\" bufferSize=\"100\" flushTimeout=\"5000\">\r\n\t\t<target xsi:type=\"FallbackGroup\" name=\"exchangefallback\" returnToFirstOnSuccess=\"true\">\r\n\t\t\t<target xsi:type=\"Mail\" name=\"exchange\"\r\n\t\t\t\t  smtpUserName=\"nlog@company.com\"\r\n\t\t\t\t  smtpPassword=\"MyP@ssword\"\r\n\t\t\t\t  smtpServer=\"smtp.company.com\"\r\n\t\t\t\t  smtpPort=\"25\"\r\n\t\t\t\t  smtpAuthentication=\"Basic\"\r\n\t\t\t\t  enableSsl=\"true\"\r\n\t\t\t\t  from=\"nlog@company.com\"\r\n\t\t\t\t  to=\"developer@company.com\"\r\n\t\t\t\t  subject=\"NLog Message\"\r\n\t\t\t\t  body=\"${longdate} ${uppercase:${level}} ${message} ${newline}\"\r\n\t\t\t/>\r\n\t\t\t<target xsi:type=\"Mail\" name=\"exchange\"\r\n\t\t\t\t  smtpUserName=\"nlog@company.com\"\r\n\t\t\t\t  smtpPassword=\"MyP@ssword\"\r\n\t\t\t\t  smtpServer=\"smtp2.company.com\"\r\n\t\t\t\t  smtpPort=\"25\"\r\n\t\t\t\t  smtpAuthentication=\"Basic\"\r\n\t\t\t\t  enableSsl=\"true\"\r\n\t\t\t\t  from=\"nlog@company.com\"\r\n\t\t\t\t  to=\"developer@company.com\"\r\n\t\t\t\t  subject=\"NLog Message (using smtp2)\"\r\n\t\t\t\t  body=\"${longdate} ${uppercase:${level}} ${message} ${newline}\"\r\n\t\t\t/>\r\n\t\t</target>\r\n\t</target>\r\n</targets>\r\n\r\n<rules>\r\n\t<logger name=\"*\" minlevel=\"Warn\" writeTo=\"bufferedexchange\" />\r\n</rules>\r\n```\r\n\r\nThanks for your eyeballs."}}