System.Web.Mail namespace "missing" in VS.Net

  • Thread starter Thread starter Pete Hearn
  • Start date Start date
P

Pete Hearn

Hi

For some reason, I cannot type "Using System.Web.Mail" in my ASP.Net app
using intellisense. The dot after System offers me Web which I select, then
another dot after Web does not put up another list. Typing it in manually
chokes the compiler.

Is there something I should have installed to enable the .Mail namespace?

TIA
Peter
 
No,

If you are inside an asp.net projekt you should have a reference to the
system.web.dll already and that should be it.

I would check my references and ensure that there's actually a reference
to that dll. If not add it.
 
Patrick - you're a genius! I was actually creating a class library, and it
had no reference to the appropriate .dll - easily fixed!

Many thanks!
Peter
 
Back
Top