RE: [PHP] tracking bulk email

From: Date: Tue, 04 Feb 2003 14:54:23 +0000
Subject: RE: [PHP] tracking bulk email
Groups: php.general 
Request: Send a blank email to php-general+get-134269@lists.php.net to get a copy of this message
> -----Original Message----- > From: Lowell Allen [mailto:la@lowellallen.com] > 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.

« previous php.general (#134269) next »