Web Hosting Talk







View Full Version : Problem using CDONTS


prashant1979
07-21-2007, 02:28 AM
Hello,

We have a number of Windows 2003 Standard Edition servers which we are using for hosting websites. Now as you all know that CDONTS is not supported by default on Windows 2003 servers. Hence we have copied CDONTS.DLL from an old Windows 2000 server and we register the same in the Windows 2003 server. The CDONTS used to work like a charm, but of late, we have been receiving numerous complaints from our customers that they don't receive emails from scripts which have been developed using CDONTS. The same scripts used to work fine earlier. Does anybody know what could be the reason for the problem? Has Microsoft released some patch or hotfix which has disabled CDONTS from performing well?

Can anybody help me?

Regards

Prashant

(Stephen)
07-21-2007, 02:48 AM
Use CDOSYS, CDONTS is antiquated garbage, people must simply move on to something supporting proper headers, SMTP authentication, etc. CDONTS was discontinued for a reason, it needs to be forever banished from programmers libraries, and google needs to purge the search results from their records and point it to how to use CDOSYS instead.

gbjbaanb
07-21-2007, 09:34 AM
moved to Programming. Stephen's not wrong, although that's not likely to help you much.

I've found some links for you to assist in upgrading your scripts:

The MS Technet article on it (http://www.microsoft.com/technet/prodtechnol/exchange/2003/nonmsappsmig.mspx)
and
a how-to (http://classicasp.aspfaq.com/email/how-do-i-send-e-mail-with-cdo.html)

Hopefully you'll see its not that difficult within ASP scripts.