Solved

ASPMail versus CDONTS - ASPMail is slow, is CDONTS better for me?

Posted on 2004-04-14
6
643 Views
Last Modified: 2012-06-21
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.
0
Comment
Question by:djlurch
6 Comments
 
LVL 7

Expert Comment

by:brgivens
ID: 10828610
0
 
LVL 1

Author Comment

by:djlurch
ID: 10829027
Thanks for the link.  I already googled CDONTS vs CDOSYS and have seen all of those links.

I am looking for real world experience of ASPMail versus CDO Mail objects.  Anyone?
0
 
LVL 9

Accepted Solution

by:
mrGreen earned 250 total points
ID: 10831245
I don't think you'll lose anything by switching to CDONTS (or CDOSYS whichever)

We use ASP Email for simple reason that it was easy to code, our ISP had an external mail server we could reference which also meant we didn't
have to configure our own SMTP server.

For us it never seemed too slow, but never as quick as the times you quote for CDONTS.

cheers

Matt
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 1

Author Comment

by:djlurch
ID: 10836280
Matt:

Thanks for the info.  
0
 
LVL 7

Expert Comment

by:brgivens
ID: 10836365
FWIW, a post in a chat group claimed CDOSYS is 5x faster than CDONTS - of course the poster didn't offer any hard facts to back up his opinion, but I did look for speed comparisons between the various mail engines and that's about all I found.
0
 

Expert Comment

by:comfixit
ID: 10837804
The reason you may have noticed a speed difference is that in a shared environment multiple people may be making use of the same resources that you are. I would think CDONTS would be less popular that ASPEmail nowadays so even if ASPEmail is faster if the resources are being crowded you may get a slower response.

My company sends out around 20,000 emails a day on a dedicated server and they proccess pretty quickly. Could it be quicker.....probably.... but it serves our purposes very well and as was mentioned before is very easy to code.

I would just use ASPEmail unless you notice performance issues that effect what your trying to do in which case you can look into other components for what you need to do.

Hope this helps...
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now