smsohan/MvcMailer — pull request #77 by mmooney (2012-12-28 21:41:41+00:00)
Title: Added null check for CurrentHttpContext

This was a small thing that bit me when I first tried to use MvcMailer. I had not passed in an HttpContext and it exploded (as it should), but it gave me a object reference error. I just added a check for to throw a specific exception message if it's null instead of throwing a generic object reference exception