Closed maximn closed 11 years ago
Hi Maxim: Thanks for your work on this. I was thinking Task API with async/await would be a perfect thing to introduce once we have .net 4.5 as a mainstream thing. But I like your idea and will play with it a little bit.
Sohan
Added SendTaskAsync - Task SendTaskAsync(MailMessage mailMessage)
Fixed tests for SendAsync (now really send async [add to the list on another thread]). Removed the [ThreadStatic from TestSmtpClient] and now locks when adding to messages list.