#33434 [Fbk->Opn]: the mail() function does not call the needed function in mail.c

From: Date: Wed, 22 Jun 2005 13:46:56 +0000
Subject: #33434 [Fbk->Opn]: the mail() function does not call the needed function in mail.c
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-80823@lists.php.net to get a copy of this message
ID: 33434 User updated by: robert at bsd dot hu Reported By: robert at bsd dot hu -Status: Feedback +Status: Open Bug Type: Mail related Operating System: IRIX 6.5 PHP Version: 4.3.11 New Comment: I've defined HAVE_SENDMAIL 1 in mail.c just to be sure and it seems it is ok: $ strings .libs/libphp4.so|grep mail mail mb_send_mail mb_orig_mail mail vpopmail.directory called mail() function. sendmail_path Permission denied: unable to execute shell to run mail delivery binary '%s' Could not execute mail delivery program '%s' Path to sendmail sendmail_from sendmail_path /usr/lib/sendmail -t -i Previous Comments: ------------------------------------------------------------------------ [2005-06-22 15:41:53] tony2001@php.net Then I don't see how it could happen that in mail.c HAVE_SENDMAIL is 0. Please try fresh snapshot from http://snaps.php.net and if it doesn't work too - try to investigate why HAVE_SENDMAIL in mail.c is zero, while in included file it's 1. ------------------------------------------------------------------------ [2005-06-22 15:35:10] robert at bsd dot hu #define HAVE_SENDMAIL 1 ------------------------------------------------------------------------ [2005-06-22 15:32:02] tony2001@php.net and in main/php_config.h HAVE_SENDMAIL is ... ? ------------------------------------------------------------------------ [2005-06-22 14:47:17] robert at bsd dot hu it finds sendmail in /usr/lib/sendmail and the dump_var(mail()); returns NULL ------------------------------------------------------------------------ [2005-06-22 14:16:21] tony2001@php.net What does this output for you ? <?php var_dump(mail()); ?> And make sure that sendmail headers were found during ./configure execution (check ./configure ..... | grep -i sendmail). ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/33434 -- Edit this bug report at http://bugs.php.net/?id=33434&edit=1

« previous php.bugs (#80823) next »