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:

As i told you i've added #define HAVE_SENDMAIL 1 to
mail.c just after the includes and before the #ifded HAVE_SENDMAIL. And
as you can see strings shows that the functions are compiled in. I doubt
that this is a header problem, because they get compiled in w/o my
define too.


Previous Comments:
------------------------------------------------------------------------

[2005-06-22 17:10:07] [EMAIL PROTECTED]

That's interesting.
>From what I can see, mail.c includes php.h, which includes
tsrm_virtual_cwd.h, which includes tsrm_config_common.h, which includes
tsrm_config.h, which in turn includes php_config.h, where HAVE_SENDMAIL
is defined.

I.e. it looks like this:
mail.c
 php.h
  tsrm_config.h
   tsrm_config_common.h
    tsrm_config.h
     php_config.h 

Could you plz figure out which one of these includes doesn't get
included and why?

------------------------------------------------------------------------

[2005-06-22 16:06:51] robert at bsd dot hu

same with the snapshot.

------------------------------------------------------------------------

[2005-06-22 15:49:52] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2005-06-22 15:46:55] robert at bsd dot hu

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

------------------------------------------------------------------------

[2005-06-22 15:41:53] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

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

Reply via email to