How can I easily debug an email utility in SharePoint?
Working with emails (especially in Timer Service jobs) can be a pain to debug. Fortunately, there are a few freely available utilities that make this chore very simple. I recently wrote a simple server that send numerous emails using the following code: var headers = new StringDictionary { {"from", web.Site.WebApplication.OutboundMailSenderAddress}, {"to", user.Email}, {"subject", subject}, {"content-type", "text/html"} ...