473,320 Members | 1,804 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,320 software developers and data experts.

System.Net.Mail versa System.Web.Mail

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
Frank

Mar 27 '07 #1
10 3904
Hello,

in .NET 1.1, only the System.Web.Mail was available. This implemenation had
fundamental flaws. For example, attachment could only be added from files,
not from Streams.

The .NET 2.0 implementation is System.Net.Mail and is much more flexible and
has a richer featureset.

Best regards,
Henning Krause
"Frank" <fr*****@gmail.comwrote in message
news:11*********************@n59g2000hsh.googlegro ups.com...
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
Frank
Mar 27 '07 #2
On Mar 27, 3:59 pm, "Henning Krause [MVP - Exchange]"
<newsgroups_rem...@this.infinitec.dewrote:
Hello,

in .NET 1.1, only the System.Web.Mail was available. This implemenation had
fundamental flaws. For example, attachment could only be added from files,
not from Streams.

The .NET 2.0 implementation is System.Net.Mail and is much more flexible and
has a richer featureset.

Best regards,
Henning Krause

"Frank" <frk....@gmail.comwrote in message

news:11*********************@n59g2000hsh.googlegro ups.com...
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
Frank- Hide quoted text -

- Show quoted text -
Hi Mr. Krause,

many thxs

Mar 27 '07 #3
http://www.systemwebmail.com/
http://www.systemnetmail.com/
On Mar 27, 3:59 pm, "Henning Krause [MVP - Exchange]"
<newsgroups_rem...@this.infinitec.dewrote:
>Hello,

in .NET 1.1, only the System.Web.Mail was available. This
implemenation had fundamental flaws. For example, attachment could
only be added from files, not from Streams.

The .NET 2.0 implementation is System.Net.Mail and is much more
flexible and has a richer featureset.

Best regards,
Henning Krause
"Frank" <frk....@gmail.comwrote in message

news:11*********************@n59g2000hsh.googlegr oups.com...
>>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
Frank- Hide quoted text -
- Show quoted text -
Hi Mr. Krause,

many thxs

Mar 28 '07 #4
On Mar 27, 8:33 pm, Jay Parzych <jimp...@cox.netwrote:
http://www.systemwebmail.com/

http://www.systemnetmail.com/
On Mar 27, 3:59 pm, "Henning Krause [MVP - Exchange]"
<newsgroups_rem...@this.infinitec.dewrote:
Hello,
in .NET 1.1, only the System.Web.Mail was available. This
implemenation had fundamental flaws. For example, attachment could
only be added from files, not from Streams.
The .NET 2.0 implementation is System.Net.Mail and is much more
flexible and has a richer featureset.
Best regards,
Henning Krause
"Frank" <frk....@gmail.comwrote in message
>news:11*********************@n59g2000hsh.googlegr oups.com...
>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
Frank- Hide quoted text -
- Show quoted text -
Hi Mr. Krause,
many thxs- Hide quoted text -

- Show quoted text -
great thxs!

Mar 28 '07 #5
Actually System.Net.Mail replaces System.Web.Mail, which is now marked
as obsolete.

Henning Krause [MVP - Exchange] wrote:
Hello,

in .NET 1.1, only the System.Web.Mail was available. This implemenation
had fundamental flaws. For example, attachment could only be added from
files, not from Streams.

The .NET 2.0 implementation is System.Net.Mail and is much more flexible
and has a richer featureset.

Best regards,
Henning Krause
"Frank" <fr*****@gmail.comwrote in message
news:11*********************@n59g2000hsh.googlegro ups.com...
>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
Frank
--
Göran Andersson
_____
http://www.guffa.com
Mar 28 '07 #6
re:
Actually System.Net.Mail replaces System.Web.Mail, which is now marked as obsolete
It's only "obsolete" for the .Net Framework 2.0.
It's still supported in the .Net Framework 1.0 and 1.1.

The correct term when a class works in previous
versions, but not in a later one, is "deprecated".


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espańol : http://asp.net.do/foros/
===================================
"Göran Andersson" <gu***@guffa.comwrote in message news:%2****************@TK2MSFTNGP02.phx.gbl...
Actually System.Net.Mail replaces System.Web.Mail, which is now marked as obsolete.

Henning Krause [MVP - Exchange] wrote:
>Hello,

in .NET 1.1, only the System.Web.Mail was available. This implemenation had fundamental flaws.
For example, attachment could only be added from files, not from Streams.

The .NET 2.0 implementation is System.Net.Mail and is much more flexible and has a richer
featureset.

Best regards,
Henning Krause
"Frank" <fr*****@gmail.comwrote in message
news:11*********************@n59g2000hsh.googlegr oups.com...
>>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
Frank

--
Göran Andersson
_____
http://www.guffa.com

Mar 28 '07 #7
Juan T. Llibre wrote:
re:
>Actually System.Net.Mail replaces System.Web.Mail, which is now marked as obsolete

It's only "obsolete" for the .Net Framework 2.0.
It's still supported in the .Net Framework 1.0 and 1.1.
Obviously, as System.Net.Mail doesn't exist in framework 1.x.
The correct term when a class works in previous
versions, but not in a later one, is "deprecated".
The class is marked as obsolete using the Obsolete attribute. The
correct term for a class marked as obsolete is obsolete. You can also
call it "deprecated" as some other systems use that term for the same thing.

An obsolete class is still working, it's only recommended that it's not
used. As the framework is supposed to be able to run code compiled for
previos versions, classes can't just stop working, at least not until
they have been obsolete for some version updates.
>
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espańol : http://asp.net.do/foros/
===================================
"Göran Andersson" <gu***@guffa.comwrote in message news:%2****************@TK2MSFTNGP02.phx.gbl...
>Actually System.Net.Mail replaces System.Web.Mail, which is now marked as obsolete.

Henning Krause [MVP - Exchange] wrote:
>>Hello,

in .NET 1.1, only the System.Web.Mail was available. This implemenation had fundamental flaws.
For example, attachment could only be added from files, not from Streams.

The .NET 2.0 implementation is System.Net.Mail and is much more flexible and has a richer
featureset.

Best regards,
Henning Krause
"Frank" <fr*****@gmail.comwrote in message
news:11*********************@n59g2000hsh.googleg roups.com...
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
Frank
--
Göran Andersson
_____
http://www.guffa.com


--
Göran Andersson
_____
http://www.guffa.com
Mar 28 '07 #8
re:
The class is marked as obsolete using the Obsolete attribute.
There's conflicting info on that.

See :
http://msdn2.microsoft.com/en-us/lib...il(VS.80).aspx

That page says that the classes in the System.Web.Mail namespace have been deprecated,
but all its classes have been marked as obsolete.

The namespace is not obsolete. It's deprecated.
That's because it doesn't work in the current version but works in the previous ones.

See:
http://en.wikipedia.org/wiki/Deprecated
"The deprecated feature still works in the current version of the software,
but it may raise error messages or warnings recommending an alternative practice."

and
http://www.w3.org/TR/WD-html40-970917/convent.html
"A deprecated element or attribute is one that has been outdated by newer constructs."

System.Web.Mail can be thought of as "obsolescent", but not "obsolete", since it still works.

Ymmv, of course.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espańol : http://asp.net.do/foros/
===================================
"Göran Andersson" <gu***@guffa.comwrote in message news:eU**************@TK2MSFTNGP06.phx.gbl...
Juan T. Llibre wrote:
>re:
>>Actually System.Net.Mail replaces System.Web.Mail, which is now marked as obsolete

It's only "obsolete" for the .Net Framework 2.0.
It's still supported in the .Net Framework 1.0 and 1.1.

Obviously, as System.Net.Mail doesn't exist in framework 1.x.
>The correct term when a class works in previous
versions, but not in a later one, is "deprecated".

The class is marked as obsolete using the Obsolete attribute. The correct term for a class marked
as obsolete is obsolete. You can also call it "deprecated" as some other systems use that term for
the same thing.

An obsolete class is still working, it's only recommended that it's not used. As the framework is
supposed to be able to run code compiled for previos versions, classes can't just stop working, at
least not until they have been obsolete for some version updates.
>>
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espańol : http://asp.net.do/foros/
===================================
"Göran Andersson" <gu***@guffa.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>>Actually System.Net.Mail replaces System.Web.Mail, which is now marked as obsolete.

Henning Krause [MVP - Exchange] wrote:
Hello,

in .NET 1.1, only the System.Web.Mail was available. This implemenation had fundamental flaws.
For example, attachment could only be added from files, not from Streams.

The .NET 2.0 implementation is System.Net.Mail and is much more flexible and has a richer
featureset.

Best regards,
Henning Krause
"Frank" <fr*****@gmail.comwrote in message
news:11*********************@n59g2000hsh.google groups.com...
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
Frank
>
--
Göran Andersson
_____
http://www.guffa.com



--
Göran Andersson
_____
http://www.guffa.com

Mar 29 '07 #9
Juan T. Llibre wrote:
re:
>The class is marked as obsolete using the Obsolete attribute.

There's conflicting info on that.
Not at all. It's very simple. There is an Obsolete attribute. There is
no Deprecated attribute. You can mark a class as obsolete, but you can't
mark it as deprecated.
See :
http://msdn2.microsoft.com/en-us/lib...il(VS.80).aspx

That page says that the classes in the System.Web.Mail namespace have been deprecated,
but all its classes have been marked as obsolete.

The namespace is not obsolete. It's deprecated.
That's because it doesn't work in the current version but works in the previous ones.
That is not correct. The classes still work in the current version.
See:
http://en.wikipedia.org/wiki/Deprecated
"The deprecated feature still works in the current version of the software,
but it may raise error messages or warnings recommending an alternative practice."

and
http://www.w3.org/TR/WD-html40-970917/convent.html
"A deprecated element or attribute is one that has been outdated by newer constructs."

System.Web.Mail can be thought of as "obsolescent", but not "obsolete", since it still works.
I think that you are confusing this with something else. Just because
something is obsolete doesn't in any way imply that it would not work
any more.
Ymmv, of course.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espańol : http://asp.net.do/foros/
===================================
"Göran Andersson" <gu***@guffa.comwrote in message news:eU**************@TK2MSFTNGP06.phx.gbl...
>Juan T. Llibre wrote:
>>re:
Actually System.Net.Mail replaces System.Web.Mail, which is now marked as obsolete
It's only "obsolete" for the .Net Framework 2.0.
It's still supported in the .Net Framework 1.0 and 1.1.
Obviously, as System.Net.Mail doesn't exist in framework 1.x.
>>The correct term when a class works in previous
versions, but not in a later one, is "deprecated".
The class is marked as obsolete using the Obsolete attribute. The correct term for a class marked
as obsolete is obsolete. You can also call it "deprecated" as some other systems use that term for
the same thing.

An obsolete class is still working, it's only recommended that it's not used. As the framework is
supposed to be able to run code compiled for previos versions, classes can't just stop working, at
least not until they have been obsolete for some version updates.
>>Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espańol : http://asp.net.do/foros/
===================================
"Göran Andersson" <gu***@guffa.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl.. .
Actually System.Net.Mail replaces System.Web.Mail, which is now marked as obsolete.

Henning Krause [MVP - Exchange] wrote:
Hello,
>
in .NET 1.1, only the System.Web.Mail was available. This implemenation had fundamental flaws.
For example, attachment could only be added from files, not from Streams.
>
The .NET 2.0 implementation is System.Net.Mail and is much more flexible and has a richer
featureset.
>
Best regards,
Henning Krause
>
>
"Frank" <fr*****@gmail.comwrote in message
news:11*********************@n59g2000hsh.googl egroups.com...
>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
>Frank
>>
--
Göran Andersson
_____
http://www.guffa.com

--
Göran Andersson
_____
http://www.guffa.com


--
Göran Andersson
_____
http://www.guffa.com
Mar 29 '07 #10
I think we mostly have a semantic difference.
In practice, "obsolete" and "deprecated" are semantic synonyms.

re:
The classes still work in the current version.
You're right about that.

re:
>System.Web.Mail can be thought of as "obsolescent", but not "obsolete", since it still works.
I think that you are confusing this with something else.
I don't think so.

"obsolete" and "deprecated", in the sense they are used in CS,
means that they still work...but are on the way to not working.

At some point in the near ( maybe not so near ) future,
they will cease to work in the newest version.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espańol : http://asp.net.do/foros/
===================================
"Göran Andersson" <gu***@guffa.comwrote in message news:Ob**************@TK2MSFTNGP06.phx.gbl...
Juan T. Llibre wrote:
>re:
>>The class is marked as obsolete using the Obsolete attribute.

There's conflicting info on that.

Not at all. It's very simple. There is an Obsolete attribute. There is no Deprecated attribute.
You can mark a class as obsolete, but you can't mark it as deprecated.
>See :
http://msdn2.microsoft.com/en-us/lib...il(VS.80).aspx

That page says that the classes in the System.Web.Mail namespace have been deprecated,
but all its classes have been marked as obsolete.

The namespace is not obsolete. It's deprecated.
That's because it doesn't work in the current version but works in the previous ones.

That is not correct. The classes still work in the current version.
>See:
http://en.wikipedia.org/wiki/Deprecated
"The deprecated feature still works in the current version of the software,
but it may raise error messages or warnings recommending an alternative practice."

and
http://www.w3.org/TR/WD-html40-970917/convent.html
"A deprecated element or attribute is one that has been outdated by newer constructs."

System.Web.Mail can be thought of as "obsolescent", but not "obsolete", since it still works.

I think that you are confusing this with something else. Just because something is obsolete
doesn't in any way imply that it would not work any more.
>Ymmv, of course.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espańol : http://asp.net.do/foros/
===================================
"Göran Andersson" <gu***@guffa.comwrote in message
news:eU**************@TK2MSFTNGP06.phx.gbl...
>>Juan T. Llibre wrote:
re:
Actually System.Net.Mail replaces System.Web.Mail, which is now marked as obsolete
It's only "obsolete" for the .Net Framework 2.0.
It's still supported in the .Net Framework 1.0 and 1.1.
Obviously, as System.Net.Mail doesn't exist in framework 1.x.

The correct term when a class works in previous
versions, but not in a later one, is "deprecated".
The class is marked as obsolete using the Obsolete attribute. The correct term for a class
marked as obsolete is obsolete. You can also call it "deprecated" as some other systems use that
term for the same thing.

An obsolete class is still working, it's only recommended that it's not used. As the framework
is supposed to be able to run code compiled for previos versions, classes can't just stop
working, at least not until they have been obsolete for some version updates.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espańol : http://asp.net.do/foros/
===================================
"Göran Andersson" <gu***@guffa.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl. ..
Actually System.Net.Mail replaces System.Web.Mail, which is now marked as obsolete.
>
Henning Krause [MVP - Exchange] wrote:
>Hello,
>>
>in .NET 1.1, only the System.Web.Mail was available. This implemenation had fundamental
>flaws. For example, attachment could only be added from files, not from Streams.
>>
>The .NET 2.0 implementation is System.Net.Mail and is much more flexible and has a richer
>featureset.
>>
>Best regards,
>Henning Krause
>>
>>
>"Frank" <fr*****@gmail.comwrote in message
>news:11*********************@n59g2000hsh.goog legroups.com...
>>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
>>Frank
>>>
--
Göran Andersson
_____
http://www.guffa.com
--
Göran Andersson
_____
http://www.guffa.com



--
Göran Andersson
_____
http://www.guffa.com

Mar 29 '07 #11

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

Similar topics

4
by: Trond A. S. Andersen | last post by:
Hi, all! I'm trying to use the System.Web.Mail. "package" combinded with System.Web.Mail.SmtpMail in order to send MS Excel spreadsheets attached to mail messages. However, sending one single...
2
by: clevrmnkey | last post by:
I've had nothing but trouble from the System.Net.Mail objects, but I finally need to make them work, and I can't for the life of me see what I'm doing wrong. I pared back my mail transaction to...
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...
0
by: nudrat | last post by:
Hi, My requirement are : 1) In one PC in LAN Linus is installed which is used for net surfing.... rest of the systems have xp including exchange server. 2) We want to convert all email...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
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)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

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.