Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

[PHP] Re: [PHP-GENERAL] PHP4 and mail() suddenly not working From: Richard Lynch (richard <email protected>)
Date: 07/03/00

In article <NBBBLMKDDAEIBGKHFKKCCEBKCMAA.rbickers <email protected>>,
rbickers <email protected> ("Ron Bickers") wrote:

> This is one of the worst kind of problems because there is no indication
> that anything is wrong since the program doesn't complain, the info that
> should be mailed is lost forever, and nobody knows it until days later when
> we get a call saying the client hasn't gotten any orders.

Are you checking the return status of the mail() function?... You may be
able to at least alert yourself to the problem...

Ideally, PHP should get back success/failure based on a successful
insertion into the mail program, and after that, the mail program should
be tracking it...

-- 
Richard Lynch                | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA        | http://www.L-I-E.com/artists.htm
http://www.zend.com          | (this has nothing to do with Zend, duh!)

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>