Sending Mail To Your File System (No Need For A Mail Server)
This is a great nuggest I came across the other day. I found this great post (http://blog.donnfelker.com/post/Sending-Email-in-a-Development-Environment-without-an-SMTP-Server.aspx) that shows how to redirect mail to a folder instead of an SMTP. Previous to this I would send it to IIS SMTP service and look into the folders it creates. Big pain! Now I can send email to a file system and view the email quickly. No more waiting for the mail to reach your gmail account.
I must be honest. I post this here for my own guilty pleasure in being able to find it next time i need it :).
<system.net>
<mailSettings>
<smtp deliveryMethod="SpecifiedPickupDirectory">
<specifiedPickupDirectory pickupDirectoryLocation="c:\temp\maildrop\"/>
</smtp>
</mailSettings>
</system.net>
Make sure the user/app pool/etc has write premissions to folder you have as your pickup directory.