Monday, October 12, 2009

Email in dev

 

Cool config to save the emails on a folder without the need for a smtp server:

  <system.net>
    <mailSettings>
      <smtp deliveryMethod="SpecifiedPickupDirectory">
        <specifiedPickupDirectory pickupDirectoryLocation="c:\temp\maildrop\"/>
      </smtp>
    </mailSettings>
  </system.net>

 

 

Check the full post:

http://blog.donnfelker.com/post/Sending-Email-in-a-Development-Environment-without-an-SMTP-Server.aspx

No comments: