Forum Moderators: open

Message Too Old, No Replies

Multiple E-Mails Through IIS

sometimes yes, sometimes no

         

txbakers

1:06 pm on Oct 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm using a third party email component. Works great to send 1, 5, 50 emails.

I wrote the code to first process the list of addresses, split by ";". I count the records in the array and start a loop for the length of that array of addresses.

I also capture the senders name and email address so that all the emails are coming from my server, but show their return address.

For attachments, I have them upload the file, we store it on the server, then attach it to each email going out.

The process sends one email at a time to the recipient, rather than batching them on a BCC line.

So far, the max has been 800 emails, which sometimes times out the ASP process, so I have increased the timeout time.

my question
Is there a more efficient system to do this? The person with 800 reports a wait of 2 hours to send her emails, which doesn't seem right to me.

The mail server and the database are on the same machine.

I'd love some input and suggestions for different ways to handle this.

Thanks.

LeoXIV

4:15 pm on Oct 13, 2006 (gmt 0)

10+ Year Member



if you need to do it from a Web App, take a look at this sample [aspnetemail.com...]

I havent used their component but the code seems cool.

Corey Bryant

5:45 pm on Oct 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There is also a component called ASPQMail that might help you out

-Corey

txbakers

5:54 pm on Oct 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I already have a component from Server Objects called SMTPsvg, which works very well.

The issue is sending 800 of them with an attachment through a loop. Sometimes it times out, and sometimes it just sits and spins.

Is there a more effecient way to handle this?

I'm using classic ASP not .NET.