Hi all,

I'm trying to send mail via SMTP. My application is written in C# and I
can't seem to include the System.Web.Mail namespace at the top in my code.
I only get the System.Web.Services namespace. I do however get the
System.Web.Mail namespace if I'm using VB.NET. So why wouldn't I get it
for C# ??

Thanx

E

--
Message posted via http://www.dotnetmonster.com

Re: Sending mail through SMTP by Herfried

Herfried
Sat Mar 12 15:35:28 CST 2005

"Erwin Pant via DotNetMonster.com" <forum@DotNetMonster.com> schrieb:
> I'm trying to send mail via SMTP. My application is written in C# and I
> can't seem to include the System.Web.Mail namespace at the top in my code.

Make sure your project contains a reference to "System.Web.dll".

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Re: Sending mail through SMTP by Erwin

Erwin
Sat Mar 12 15:36:05 CST 2005

I guess I should check before starting to freak out ! ;) My reference to
System.Web was missing !!

E

--
Message posted via http://www.dotnetmonster.com