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.
First, you should cut down on how many times you have to touch sendmail. Instead of sending one email for each user, why not throw 10 users into the bcc field (keep that number low to stay below SPAM software, and in bcc, it hides the email addresses from the other receiptents)
Questions: 1) should I be concerned about a timeout, or does connecting to sendmail not affect the run speed of the loop
It all depends on the sendmail queue. 1000 emails isn't much (100 is even easier if you do 10 bcc's at a time), so it shouldn't hurt, but you can override this. You can either use an "ini_set" in your script, or a .htaccess file to override php's default.
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?
Depends on how the company has them set up. Look in /var/log.
Thanks for any guidance,
steve miller
____ � 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]
