﻿Add these SMTP settings to your web.config

<system.net>
 <mailSettings>
  <smtp>
   <network host="localhost" port="25"/>
  </smtp>
 </mailSettings>
</system.net>


Code changes:
In the Default.aspx file replace "wisemx" with whatever you want, i.e. your site name, etc.

In the file Default.aspx.vb replace the Email address wisemx@msftwise.com with your Email address.
This can be any Email address you use, does not have to be a DiscountASP.NET server address.

In that same file you will notice some error trapping towards the bottom, replace the "wisemx" values with whatever you want.
i.e. "  ...From msftwise. (sending IP: " could be changed to this -> "  ...From My site. (sending IP: "
What that does is send you the IP address of the person who used the Contact page, via the Email address you are using.
That message will only be shown to you.

Note: The HTML formatting on the page section of Default.aspx should use CSS if you know how, instead of an HTML table.
I'm using a Table there to format it for simplicity, it will work fine but you can take much more contorl over it with CSS.

You don't have to do anything else, this is fully functional as is and it is currently running on a DiscountASP.NET server here: http://www.msftwise.com/contact/
 All the best,
   Mark Wisecarver
 