.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!



Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

difference between system.web.mail and system.net.mail?

Posted By: Nabin     Posted Date: February 03, 2010    Points:2   Category :.NET Framework
hello everyone can any one explain that what is the basic difference between system.net.mail and system.web.mail???? and which one be the best to use??????

Responses
Author: Venkat             
Posted Date: February 03, 2010     Points: 5   

Unlike System.Web.Mail, which was introduced in the 1.0 Framework, it is not built upon the CDO/CDOSYS libraries. Instead it is written from the ground up without any interop. Thus, it is not dependant upon other COM libraries. System.Net.Mail introduces brand new classes for creating and sending email.

Although some functionality has been removed, the new System.Net.Mail namespace is much more versatile than the older CDO dependant System.Web.Mail.

http://www.systemnetmail.com/faq/1.1.aspx

Mark As Answer if this solve your problem
Warm Regards,
Venkat
Author: Akhil Raj       [Moderator]      
Posted Date: February 03, 2010     Points: 5   

Simplt telling...

System.Web.Mail was in .NET Framework v1.1
System.Net.Mail is in .NET Framework v2.0 and greater

Same use, although there is more functionality in System.Net.Mail since it is a later version of the framework.

Author: Lalij Mer             
Posted Date: February 04, 2010     Points: 5   

From the System.Net.Mail FAQ - http://www.systemnetmail.com/faq/1.1.aspx
"Unlike System.Web.Mail, which was introduced in the 1.0 Framework, it is not built upon the CDO/CDOSYS libraries. Instead it is written from the ground up without any interop. Thus, it is not dependant upon other COM libraries. System.Net.Mail introduces brand new classes for creating and sending email.

Although some functionality has been removed, the new System.Net.Mail namespace is much more versatile than the older CDO dependant System.Web.Mail."


more info show this link

http://blogs.msdn.com/mstehle/archive/2005/11/29/497872.aspx

Please Check my answer if you help....
Thank You...

Lalit.


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend