March 14, 2010 21:45
Recently I was playing with ASP.NET MVC2 trying to find a neat solution for sending emails. This post is a sum-up of that little endeavour.
From it you will learn
- How to send HTML emails with MVCContrib and its EmailTemplateService
- How to test email sender without SMTP server
- How to use Ninject with MVC controllers
All those impatient readers out there, go ahead and download the source code of a small app that will be crafted in the rest of this post (zip comes along with MVCContrib source code, for some rich debugging experience).