look
This[
^]
and check that in your web.config file have you add these lines
<configuration>
<system.net>
<mailSettings>
<smtp deliveryMethod="PickupDirectoryFromIis"/>
</mailSettings>
</system.net>
<system.web>
<authentication mode="Forms" />
</system.web>