How to disable NLog from sending emails when running MVC3 app on localhost
===

Does anyone know how to disable the NLog application from sending out emails when running tests on the MVC3 application on localhost? I would like NLog to only send out emails when the application gets en error when deployed to the webserver. What would I have to write in order to accomplish that?

Thanks