You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Utilising the "SpecifiedPickupDirectory" in the web.config ELMAH will not save emails to the specified folder #358
Steps that will reproduce the problem:
1. Add the following section to your web.config in place of any other similar
section:
<system.net>
<mailSettings>
<smtp deliveryMethod="SpecifiedPickupDirectory" from="error@domain.co.uk">
<specifiedPickupDirectory pickupDirectoryLocation="C:\{Path}\App_Data\"/>
</smtp>
</mailSettings>
</system.net>
2. Trigger an exception that was previously being emailed by Elmah.
I would expect the email that I would have received to be saved in the location
specified in the web.config. Instead, the error is logged but no email is
saved. I have tried the App_Data path as well as a new directory in the root of
my C:\ drive, both with no success. I have set up a simple email method
separate from ELMAH and this does save a copy of the email message to the
specified directory.
Original issue reported on code.google.com by m...@marcpell.com on 8 Apr 2014 at 8:23
Activity