tags:

views:

797

answers:

2

I'm typing "Imports System.Net.Mail" but it says that "namespace or type 'Mail' for the imports 'System.Net.mail' cannot be found". I've already added in the references "system.web.dll" and "system.dll".

What else do I need to use the namespace System.Net.Mail? Thank you very much.

+3  A: 

Update 2:

You will need to install .net version 2 ( or better, 3.5 sp1 ). And you will have to upgrade to visual studio 2005 or 2008.

Update 1:

System.Net.Mail is new to .net framework 2. If you have to use .net 1.1 then you have to use: System.Web.Mail

Update 0:

Is .net framework 2 installed on your computer? Which version of visual studio are you using?

Igal Serban
A: 

no, .net framework 1.0 was only installed in my computer and im using visual studio Version 7. Do i need to install .net framework 2.0? thank you for asking.