Skip to content

Instantly share code, notes, and snippets.

@naveensky
Created November 18, 2015 17:25
Show Gist options
  • Save naveensky/58f5674ee9f48786e3b9 to your computer and use it in GitHub Desktop.
Save naveensky/58f5674ee9f48786e3b9 to your computer and use it in GitHub Desktop.
SMTP Settings for Web.config
<system.net>
<mailSettings>
<!--<smtp deliveryMethod="Network" from="">
<network host="smtp.gmail.com" port="587" enableSsl="true" userName="" password="" defaultCredentials="false"/>
</smtp>-->
<smtp deliveryMethod="SpecifiedPickupDirectory">
<specifiedPickupDirectory pickupDirectoryLocation="c:\Tmp\mail\" />
</smtp>
</mailSettings>
</system.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment