What is a good way to produce reliable integration test results for a mail service in a development environment for a .NET MVC3 web application? The email service is already isolated behind an interface and the unit tests are written for it, but I was curious if there are there any good, general tools or strategies that are available to make it easy other than spamming some email address and having some full-blown smtp server setup somewhere.
Things that should be easy to test should be:
- given a correct setup, can an email be sent
- given an incorrect setup, can we detect it and get that status back.