SMTP settings
With the move to .NET Framework 4.0, the SMTP settings for email delivery from the E-Commerce pages now look like this example, which is located outside of the <appSettings> section of the web.config file:
<system.net>
<mailSettings>
<smtp deliveryMethod="Network" from="webstuff@anywhere.com">
<network host="Exchange10" port="25" defaultCredentials="true" userName="" password="" enableSsl=”False”/>
</smtp>
</mailSettings>
</system.net>
You enter the IP address of your SMTP Server for network host. If a username and password are not used to authenticate with your SMTP server, those settings can be omitted.
In addition, if you need to send e-mail from the E-Commerce pages to the SMTP server using the Secure Sockets Layer (SSL), use the site config setting enableSsl=“True”.