Home > General > System.Net.Mail Pickup Directory

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 Tags:
  1. No comments yet.
  1. No trackbacks yet.

lowest common denominator is Digg proof thanks to caching by WP Super Cache