473,322 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

System.Web.Mail Namespace gone?

Hello all,

i'am using VS .NET 2003 Prof (new installed with .NET 1.1) on WinXP Prof
(SP2).
I need to programm an small SMTP Client in C#.
When i try using System.Web.Mail i get the Errormsg that the Namespace
Mail does not exist in System.Web

I can't see any System.Web.Mail.dll in the .NET Framework installation dir.

Are the Mailclasses in another Namespace?

Thanks for your help.

Regards,
Andy
Nov 16 '05 #1
4 4723
Add a reference to System.Web.dll.

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Andreas von Linden" <in**@afry.de> wrote in message
news:eU**************@TK2MSFTNGP12.phx.gbl...
Hello all,

i'am using VS .NET 2003 Prof (new installed with .NET 1.1) on WinXP Prof
(SP2).
I need to programm an small SMTP Client in C#.
When i try using System.Web.Mail i get the Errormsg that the Namespace
Mail does not exist in System.Web

I can't see any System.Web.Mail.dll in the .NET Framework installation dir.
Are the Mailclasses in another Namespace?

Thanks for your help.

Regards,
Andy

Nov 16 '05 #2
Hi,

Did you add the reference to it?
Project/Add reference

If your project is not a web app it does not include it, IIRC

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Andreas von Linden" <in**@afry.de> wrote in message
news:eU**************@TK2MSFTNGP12.phx.gbl...
Hello all,

i'am using VS .NET 2003 Prof (new installed with .NET 1.1) on WinXP Prof
(SP2).
I need to programm an small SMTP Client in C#.
When i try using System.Web.Mail i get the Errormsg that the Namespace
Mail does not exist in System.Web

I can't see any System.Web.Mail.dll in the .NET Framework installation dir.
Are the Mailclasses in another Namespace?

Thanks for your help.

Regards,
Andy

Nov 16 '05 #3
It is in System.Web.Mail namespace of the assembly System.Web.dll.

"Andreas von Linden" <in**@afry.de> wrote in message
news:eU**************@TK2MSFTNGP12.phx.gbl...
Hello all,

i'am using VS .NET 2003 Prof (new installed with .NET 1.1) on WinXP Prof
(SP2).
I need to programm an small SMTP Client in C#.
When i try using System.Web.Mail i get the Errormsg that the Namespace
Mail does not exist in System.Web

I can't see any System.Web.Mail.dll in the .NET Framework installation dir.

Are the Mailclasses in another Namespace?

Thanks for your help.

Regards,
Andy
Nov 16 '05 #4
Hi Dennis (and the rest of you folks),

Dennis Myrén wrote:
Add a reference to System.Web.dll.


hmmm thats it.
Thanks.

Regards,
Andy
Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chris | last post by:
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...
3
by: Eric | last post by:
When I use system.web.mail namespace in most of my integration programs and in windows application programs it doesn't work. it normally gives an exception "Could not access 'CDO.Message' object."...
3
by: Phil Mc | last post by:
Hi has anyone come accross the problem.... with referance to System.Web.Mail.MailMessage and System.Web.Mail.SmtpMail THIS WORKS FINE mail=new MailMessage(); mail.From =...
5
by: martin | last post by:
Hi, I have created a class that is totally seperate from my web application. However this class is used extensivly by the web application for stuff like data access. I wish to add a function to...
1
by: John Hamilton | last post by:
I am writing a client app that communicates with a legacy system via email. The legacy system uses very primative mail messaging and thus doesn't support MIME or Base64 Encoded attachments. ...
2
by: andresguzcar | last post by:
Hi all, i m having a hard time trying to make this e-mail thing work. The problem isn´t in the class as far I can see but instead seems to be in the configuration of the mail server. When my...
10
by: Frank | last post by:
Hi, I am hoping to find out the differences between the System.Net.Mail and System.Web.Mail. Can some nice folks post the differences; or some urls which show the differences? Great Thanks...
12
by: kimiraikkonen | last post by:
Hello, I'm trying to create a basic SMTP mail sender using that code, i'm using VB.NET 2005 "express" but this namespace wasn't recognized... (system.web.MAIL) I'm only allowed to declare under...
11
by: Ed Bitzer | last post by:
I have been able using the namespace System.Web.Mail and its method Smtp.mail.send to mail simple text messages to a small group within our 55 and older community. I need help expanding the...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.