Test sending Email locally

Discussion in 'Email' started by wisemx, Dec 11, 2010.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. This one caught me by surprise...
    There's a very cool thread going on at Stack Overflow about the Hidden Features of ASP.NET
    http://stackoverflow.com/questions/54929/hidden-features-of-asp-net

    In that thread John Sheehan posted this trick:

    While testing, you can have emails sent to a folder on your computer instead of an SMTP server. Put this in your web.config:
    <system.net> <mailSettings> <smtp deliveryMethod="SpecifiedPickupDirectory"> <specifiedPickupDirectory pickupDirectoryLocation="c:\Temp\" /> </smtp> </mailSettings></system.net>
     
    Owen Ransen likes this.
  2. mjp

    mjp

    Well that's certainly handy.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page