> -----Original Message-----
> From: Lowell Allen [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, February 03, 2003 12:38 PM
> To: PHP
> Subject: [PHP] tracking bulk email
> (1) My client is nervous about the script failing mid-list 
> and not being
> able to determine which contacts were sent mail. I need a way 
> to build this
> check into the content management system. I could write a flag to the
> database every time mail() returns true, but that would mean 
> 1400 database
> updates! If I instead append to a variable each time through 
> the mail()
> loop, I'll lose the record if the script times out. Can 
> anyone suggest a way
> to record the position in a loop if a time out or failure occurs?

What's wrong with 1,400 database updates?  Seems to me that's the most
straight forward solution, easiest to recover from, easier for someone
following your footsteps to work on later, and is what db's are for..
Have you timed it, and felt pain?  You could email yourself 1,400 times
to test, and see if it hurts.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to