
How to send email using smtp server.(Problem)
Quote:
>i want to send email using c# .
>i having me using this code but ima getting a error
>error:could not create Cdonts object ?
What operating system are you using? As indicated by the MSDN .NET
documentation, the classes in the System.Web namespace require Windows
2000/XP Pro/.NET Server, so Windows 98/Me/XP Home won't work.
You *might* get by with an installation of Outlook or Exchange, as
Nicholas suggested, but I think System.Web relies on CDOSYS.DLL
version 6.0 which is only supplied with the above-mentioned operating
sytems, according to MSDN Knowledge Base article Q171440.
The CDO library is definitely not available as a redistributable
component, by the way, according the same article.