ID: 24449 Updated by: [EMAIL PROTECTED] Reported By: csimonetto at sfera dot tv -Status: Open +Status: Bogus Bug Type: Mail related Operating System: red hat 7.3 PHP Version: 4.3.2 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php This simply means that the configure script was unable to find the sendmail binary on your system. Make sure it exists and is in the path. Previous Comments: ------------------------------------------------------------------------ [2003-07-01 16:52:41] csimonetto at sfera dot tv Description: ------------ If I try to use the mail function I receive this error: PHP Fatal error: Call to undefined function: mail() in /home/httpd/html/bug.php on line 2 the script bug.php is <? mail("[EMAIL PROTECTED]", "test", "test"); echo "Sended"; ?> The server configuration is Redhat 7.3 Apache 1.3.27 PHP 4.3.2 Sendmail I try the solution in a related problem, but i have sendmail, the path is correct, and the php.ini is configured (sendmail_path /usr/sbin/sendmail). Sendmail from line command work correctly, the mail was send ! Please help me Thanks Reproduce code: --------------- <? mail("[EMAIL PROTECTED]", "test", "test"); echo "Sended"; ?> Expected result: ---------------- Sended Actual result: -------------- Fatal error: Call to undefined function: mail() in /var/www/html/tool4cut.com/manager/mailtest.php on line ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24449&edit=1