Merlynx,
Before you can import a namespace you need to reference the assembly.
Most (all?) of the classes in the System.Web.Mail namespace are located in
the System.Web.dll assembly.
You will need to include System.Web.dll in your references when you compile
your program.
To find out the assembly that needs to be referenced check the Assembly
entry in the Requirements section of the overview page for the Class
(Struct, Interface, Enum) on MSDN.
"Merlynx" <nobody@home.co m> wrote in message
news:uGj$hYtrDH A.3492@TK2MSFTN GP11.phx.gbl...[color=blue]
> This namespace is not found when i try to import it. I have the .NET
> Framework 1.1 installed :(
>
>[/color]
"Jay B. Harlow [MVP - Outlook]" <Jay_Harlow_MVP @msn.com> wrote in message
news:Oa1hfwtrDH A.556@TK2MSFTNG P11.phx.gbl...[color=blue]
> Merlynx,
> Before you can import a namespace you need to reference the assembly.
>
> Most (all?) of the classes in the System.Web.Mail namespace are located in
> the System.Web.dll assembly.
>
> You will need to include System.Web.dll in your references when you[/color]
compile[color=blue]
> your program.
>
> To find out the assembly that needs to be referenced check the Assembly
> entry in the Requirements section of the overview page for the Class
> (Struct, Interface, Enum) on MSDN.
>
>[/color] http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfSystemWebM ailMailMessageC lassTopic.asp[color=blue]
>
> Hope this helps
> Jay
>
> "Merlynx" <nobody@home.co m> wrote in message
> news:uGj$hYtrDH A.3492@TK2MSFTN GP11.phx.gbl...[color=green]
> > This namespace is not found when i try to import it. I have the .NET
> > Framework 1.1 installed :(
> >
> >[/color]
>
>[/color]
Comment