473,545 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3928
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******** *************@n 59g2000hsh.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
Mar 27 '07 #2
On Mar 27, 3:59 pm, "Henning Krause [MVP - Exchange]"
<newsgroups_rem ...@this.infini tec.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******** *************@n 59g2000hsh.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- 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.infini tec.dewrote:
>Hello,

in .NET 1.1, only the System.Web.Mail was available. This
implemenatio n 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.goo glegroups.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.ne twrote:
http://www.systemwebmail.com/

http://www.systemnetmail.com/
On Mar 27, 3:59 pm, "Henning Krause [MVP - Exchange]"
<newsgroups_rem ...@this.infini tec.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.goo glegroups.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******** *************@n 59g2000hsh.goog legroups.com...
>Hi,

I am hoping to find out the differences between the
System.Net.Mai l 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.co mwrote in message news:%2******** ********@TK2MSF TNGP02.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.goo glegroups.com.. .
>>Hi,

I am hoping to find out the differences between the
System.Net.Ma il 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.co mwrote in message news:%2******** ********@TK2MSF TNGP02.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.go oglegroups.com. ..
Hi,

I am hoping to find out the differences between the
System.Net.M ail and System.Web.Mail .

Can some nice folks post the differences; or some urls which show the
difference s?

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 "obsolescen t", 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.co mwrote in message news:eU******** ******@TK2MSFTN GP06.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.co mwrote in message
news:%2******* *********@TK2MS FTNGP02.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.g ooglegroups.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 "obsolescen t", 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.co mwrote in message news:eU******** ******@TK2MSFTN GP06.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.co mwrote in message
news:%2****** **********@TK2M SFTNGP02.phx.gb l...
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
featurese t.
>
Best regards,
Henning Krause
>
>
"Frank" <fr*****@gmail. comwrote in message
news:11**** *************** **@n59g2000hsh. googlegroups.co m...
>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
>difference s?
>>
>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

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

Similar topics

4
8649
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 spreadsheet attachment per message, seems to be causing som kind of corruption of the attachment, while several spreadsheets per works just fine....
2
17458
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 the bare minimum: System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient("<my mail server IP>", 25); smtp.Send("<one of my email...
10
1291
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 Frank
0
1630
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 from linux (mbox) format to windows format (pst) and vice versa. Any body how can giude how to proceedstep by step for the same.
0
7475
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7409
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7437
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7771
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
4958
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3465
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1900
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1023
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
720
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.