Send Email To a Drop Folder in ASP.NET or ASP.NET MVC

by Bill Beckelman 31. March 2010 13:10

Just a quick tip that I picked up somewhere a while back. Just add the code below to your web config and you don’t have to worry about sending out test emails. It will just drop a .eml file to the folder you designate. You can then open the file and inspect the email with just about any email client.

image


About Me

I live and work in Salt Lake City, Utah. My background is in aviation. I have a degree in Aeronautical Science from Embry-Riddle Aeronautical University in Prescott, AZ. I have worked as a commercial airline pilot and most recently as a technical advisor for a charter airline.