Forum Moderators: open

Message Too Old, No Replies

ASP email

         

nbozic

4:42 pm on Mar 22, 2005 (gmt 0)

10+ Year Member



Hi,

I'm working on a system that among other things will send email to about 200 people. I was thinking about using regular CDONTS and looping to sent the email to 200 people. I'm concerned that this will create some sort of a threading problems or overload the server...

What's the best solution to send the same email to multiple people? Is there a way for me to create some sort of a delay in the loop and send one email every 100 miliseconds or something like that? I also considered redirection to the same page - sending emails one by one... but that would be 200 redirections... it may look a little weird to the users.

Any ideas? Thanks!

brickwall

4:51 pm on Mar 22, 2005 (gmt 0)

10+ Year Member



One of my site has exactly the same feature - group email. The approach I take is rather simple.

I loop through my list of addresses and send the email to the smtp server via queue (the spelling might be incorrect, but you get the point). Doing it this way, I don't need to wait for confirmation from the mail server that each email was sent before proceeding to the next email. Saves me a lot of processing time. Your loop can get on with sending your emails without stalling for a long time.

Iam not sure though if a queue is available in CDONTS (should be). I send my mails using a third party component - (not sure if Iam allowed to mention the name)

nbozic

10:36 pm on Mar 28, 2005 (gmt 0)

10+ Year Member



Thanks!

mrMister

6:29 pm on Mar 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



CDONTS isn't particularly good for any purpose IMHO. It's badly written and takes up too much resources.

I haven't done web based emailing for a while, but ASP QMail used to be the best program around for this kind of thing. I don't know if it's still around.