This project is read-only.

UpdateConfig method accepts the path to the root of the site where the web.config file resides. The method will then update the web.config so that any email delivered is dropped into the TestEnvironment.TestEmailPath folder. This allows tests to be conducted on the resulting email file.
If the node already exists in the web.config it is not touched.

<nodes configfile="web.config">
<node path="/configuration/system.webServer" action="insertAfter">
<smtp deliveryMethod="specifiedPickupDirectory">
<specifiedPickupDirectory pickupDirectoryLocation="D:\Tests\TestEmails">

Last edited Mar 23, 2010 at 1:47 AM by philipbeadle, version 1


No comments yet.