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
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