Skip to content

Instantly share code, notes, and snippets.

@kmlprtsng
Last active December 21, 2015 01:38
Show Gist options
  • Save kmlprtsng/6228970 to your computer and use it in GitHub Desktop.
Save kmlprtsng/6228970 to your computer and use it in GitHub Desktop.
Pointing SMTP to a local directory in web.config - ASP.NET
<smtp deliveryMethod="SpecifiedPickupDirectory">
<specifiedPickupDirectory pickupDirectoryLocation="C:\TestMailMessages\" />
</smtp>
<smtp deliveryMethod="Network">
<network host="YOUR_MAIL_HOST" userName="YOUR_USER_NAME@YOUR_DOMAIN"
password="YOUR_PASSWORD" port="YOUR_PORT" />
</smtp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment