To make the IIS saves messages to a local folder instead of using a SMTP server, change the following configuration in web.config
<configuration>
<system.net>
<mailSettings>
<smtp deliveryMethod="SpecifiedPickupDirectory">
<specifiedPickupDirectory
pickupDirectoryLocation="c:\temp\Mail" />
</smtp>