Re: mail() problems

From: Date: Thu, 04 Sep 2014 15:32:55 +0000
Subject: Re: mail() problems
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-323821@lists.php.net to get a copy of this message
On 9/4/2014 10:41 AM, Aziz Saleh wrote:
Have you tried debugging via file writing (as opposed to incrementally sending yourself an email)?: file_put_contents('/home/debug.txt', $debugCode, FILE_APPEND); Can't write a file - must be a permissions thing. BUT I can write to the php 'error_log' file and do get messages that indicate to me that everything is happening as it should. I just don't receive the email
The really weird thing is that a syntax error forces the email to arrive followed by a 'delivery failure' message because of the error trying to send output.

« previous php.general (#323821) next »