ASPMail versus CDONTS - ASPMail is slow, is CDONTS better for me?
Posted on 2004-04-14
Background: I am in a shared premium level hosting environment. The host is using Win2K/Imail/ASPMail with a dedicated mail server.
Problem: The ASPMail component is taking 6000ms (6s) to send an email. I know because I've run timing tests on the script. It used to be < 1000ms (1s). This is obviously unacceptable. ASPMail is supposed to be fast, but I have a feeling my host is overloading the mail server or has some handshake set up that slows down things (either on purpose because of spam abusers or because of additional authentication steps).
I ran a CDONTS test and it took 46ms (.046s). Talk about night and day timings!
Question: Should I switch to CDONTs? What will I lose by switching.
Answers: A link to the server objects website is not what I am looking for. Any takers?
PS: I just ran across CDOSYS, which is new to me. I started my project back in '99 and (i think) CDOSYS wasn't available at the time.
PPS: I discovered CDOSYS is Win2k+ and CDONTS is legacy. So I presume CDOSYS is the way to go.