CDONTS and ASP.NET
-
I think System.Web.Mail namespace is in fact a wrapper on CDOSYS.DLL Deepak Kumar Vasudevan Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/
-
I think System.Web.Mail namespace is in fact a wrapper on CDOSYS.DLL Deepak Kumar Vasudevan Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/
-
Your are right but what on CDONTS ? we can use it in asp, but can we in asp.net ? Regards, Asim
Hi there, Yes, you can use CDONTS to send the email in an ASP.NET application, what you need to do is to add a reference to the library cdonts.dll in VS, and VS automatically generates the interop Interop.CDONTS.dll for you, or you can also do that manually:
CDONTS.NewMail mail = new CDONTS.NewMailClass();
mail.Send("minh@intello.com", "minh@intello.com", "Subject", "Body", 0);
mail = null;Perhaps, you have a good reason to keep using CDONTS in an ASP.NET application as the System.Web.Mail is normally used to implement the email sending functionality.