Re: PHP4 and mail() suddenly not working
| From: | (Richard Lynch) | Date: | Mon, 03 Jul 2000 22:59:16 +0000 |
| Subject: | Re: PHP4 and mail() suddenly not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4592@lists.php.net to get a copy of this message | ||
In article <NBBBLMKDDAEIBGKHFKKCCEBKCMAA.rbickers@logicetc.com>,
rbickers@logicetc.com ("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!)