System.Net.Mail Pickup Directory
I’m putting this here mostly for myself cause I have a habit of forgetting these things. But, if you are in development and want to avoid actually sending emails (or don’t have access to an SMTP server), you can tell System.Net.Mail to just drop the MailMessage in a folder by using this code in your app.config/web.config:
System.Net.Mail Pickup Directory
Categories: General