ID: 20465 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Bogus +Status: Open Bug Type: Mail related Operating System: linux PHP Version: 4.2.2 New Comment:
Not much information to add. I have the following code: if(mail("[EMAIL PROTECTED]","subject","body","From: ...")) { echo ("success"); } else { echo ("fail"); } This always returns fail even when the email has been send successfully. I am running php 4.2.2 on Apache as module. Using default mail setup etc. Previous Comments: ------------------------------------------------------------------------ [2002-11-17 11:46:30] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-11-17 11:22:43] [EMAIL PROTECTED] The mail() function always returns a false value, even when it sends the mail successful. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20465&edit=1