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/
===================================
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
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