- MSDN:
Element (Network Settings) - Configuring SmtpClient to drop emails in a folder on disk
1
2
3
4
5
6
7<system.net>
<mailSettings>
<smtp deliveryMethod="SpecifiedPickupDirectory">
<specifiedPickupDirectory pickupDirectoryLocation="c:\Temp\mail\"/>
</smtp>
</mailSettings>
</system.net>