Saturday, February 19, 2011

How to test your email function without SMTP server?

How to test your email function without SMTP server?
Add following setting into web,config. All of email will be sent to the fold you assigned.

<system.net>
    <mailSettings>
        <smtp deliveryMethod="SpecifiedPickupDirectory">
            <specifiedPickupDirectory pickupDirectoryLocation="c:\emailtest\" />
        </smtp>
    </mailSettings>
</system.net>

No comments:

Post a Comment