Here below is my code in web.config. I used the tutorial i found on ASP.Net videos
<appSettings>
<add key="fromEmailAddress" value="boyfunky4all@yahoo.com"/>
</appSettings>
<system.net>
<mailSettings>
<smtp>
<network host="192.168.1.100"/>
</smtp>
</mailSettings>
</system.net>
Also is my C# code
MailMessage message = new MailMessage();
message.From = new MailAddress(ConfigurationSettings.AppSettings["fromEmailAddress"]);
&nb ...
Go to the complete details ...