Steve Miller bespaketh on Thursday, June 19, 2003 9:54 AM:

> Hi all,
> 
> I have written a small php script which pulls email addresses (about
> 1000) from my online db and sends a small html email newsletter (this
> is not spam but a weekly member update). Normally, I would not worry
> about having enough time to loop 1000 times through a section of a
> script. However, since this must connect to sendmail each time
> through, I am concerned because there is a 30 second serverside
> script timeout. 
> 
> Questions:
> 1) should I be concerned about a timeout, or does connecting to
> sendmail not affect the run speed of the loop
> 
> 2) this is on a remote shared webserver on which I only have access
> to my domain via telnet. Is there a way to view sendmail logs to see
> if everything went?
> 
> Thanks for any guidance,
> 
> steve miller
> 
> 
>
Steve (time keeps on slippin') Miller,
  I have been tweaking an ASP script using CDOSYS to do the same thing for a couple o' 
months now.  While the language is different I assume the logic is the same...  In 
ASP, you can set the script timeout on the page you call the script from, so I set 
mine to something rediculously high, like 9999 seconds.  In addition, I checked with 
my admin to make sure there was no throttling being done on the outbound mail and had 
him enable logging on SMTP.  Another thing I just built into the app is some error 
trapping.  I have it set up as a two page app (primarily so I can have 'ye olde Big 
Red Button' on one of the pages :^) and the second page prints to the contactID of any 
email that there is an error on and then resumes the script after the errror.  Another 
thing I was doing during the testing period was setting up the script in a for loop 
and sending (in my case 4000 emails) to a friends domain that had his own SMTP server 
set up (so I don't get blacklisted for spam) just to ensure the script could actually 
make it through what I figured as the peak it would send in one go.
  Hopefully some of this helps.

-Stephen Caudill
http://www.mechavox.com

____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to