Guys,

I am new to C# and .net programming...

I have Microsoft C# installed on my Windows 2000 PC.

I have written a console application for sending mails. I have taken the example from Microsoft's site. its from
http://msdn.microsoft.com/library/de...classtopic.asp

I am getting an error when compiling as
Source file r:/System.web.dll could not be found.

any solutions?

Also when I wrote this code in Microsoft C# and try to build the application I get the error
saying

"The type or namespace name 'Mail' does not exist in the class or namespace 'System.Web' (are you missing an assembly reference?)" though I have included 'using System.Web.Mail;'