System.Web.Mail

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Hi,

We have the latest version of Visual Studio installed on two machines.

Both give an error when trying to use System.Web.Mail
"The type or namespace name 'Mail' does not exist in the class or
namespace 'System.Web' (are you missing an assembly reference?)"

According to the microsoft examples & the help this should be there.

Does anyone know what is wrong?

Regards,


Chris
 
Chris said:
We have the latest version of Visual Studio installed on two machines.

Both give an error when trying to use System.Web.Mail
"The type or namespace name 'Mail' does not exist in the class or
namespace 'System.Web' (are you missing an assembly reference?)"

According to the microsoft examples & the help this should be there.

Does anyone know what is wrong?

As the error suggests, you've almost certainly not got an assembly
reference to the assembly containing the System.Web.Mail namespace;
it's in the System.Web.dll assembly.
 
Chris said:
Hi,

We have the latest version of Visual Studio installed on two machines.

Both give an error when trying to use System.Web.Mail
"The type or namespace name 'Mail' does not exist in the class or
namespace 'System.Web' (are you missing an assembly reference?)"

According to the microsoft examples & the help this should be there.

Does anyone know what is wrong?

Regards,


Chris


Thanks for the help guys.
It's my first day with c# and that had me stumped
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top