RE: Unreliable mail delivery through PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Lynch <mailto:ceo@xxxxxxxxx>
    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.

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux