RE: [PHP] Unreliable mail delivery through PHP

From: Date: Tue, 14 Dec 2004 00:27:01 +0000
Subject: RE: [PHP] Unreliable mail delivery through PHP
Groups: php.general 
Request: Send a blank email to php-general+get-204257@lists.php.net to get a copy of this message
Richard Lynch <mailto:ceo@l-i-e.com> on Monday, December 13, 2004 4:09 PM said: >> mail($to, $subject, $body, $headers); > > The mail() function returns true/false upon success/failure in > injecting the email into the mail queue. > > You should be grabbing and checking the return value. > > It's probably not the culprit here, but is Good Programming Practice. Good idea. > Perhaps the other emails are still "coming"? Actually, I know this to not be the case as this has been a recurring annoyance for some time and I've yet to see a email show up late. So far it's been on time or not at all. And thanks for the other good suggestions! Chris.

« previous php.general (#204257) next »