Edit report at http://bugs.php.net/bug.php?id=16093&edit=1
ID: 16093 Comment by: s dot hajric at hs-hkb dot ba Reported by: sc2 at gmx dot at Summary: mail does not work Status: Bogus Type: Bug Package: Mail related Operating System: suse 7.1 PHP Version: 4.1.2 Block user comment: N New Comment: dhhfjfgjfjf Previous Comments: ------------------------------------------------------------------------ [2004-07-28 19:44:56] mark at intuitiveisp dot com This is a Bug... It should return true or false 100% of the time... If it can't get a shell it should log an error somewhere. ------------------------------------------------------------------------ [2002-03-15 19:52:04] mfisc...@php.net PHP needs an executeable shell to run the sendmail binary; make sure a sheel is executeable at least by the apache user (/bin/sh or /bin/bash). Anyway it's a system configuration error, not a PHP bug. ------------------------------------------------------------------------ [2002-03-15 07:30:53] sc2 at gmx dot at >What's the return value of mail(), is it false ? nope >Have you tried calling sendmail from command line if it >properly works? this works fine, it works to fine to send mail from a cgi form. It only looks that the php doesnt "contact" sendmail. on other servers/Dist. works fine. sorry for bad. english ------------------------------------------------------------------------ [2002-03-15 07:09:18] mfisc...@php.net What's the return value of mail(), is it false ? Have you tried calling sendmail from command line if it properly works? ------------------------------------------------------------------------ [2002-03-15 06:27:30] sc2 at gmx dot at The mail send function does not work. there are no errors. the sendmail path is correct (php.ini / configure scan) and sendmail works fine (manuall + cgi mail) there no errors to see in logs. sendmail never becomes a mail from php (if i use a php mail script, then sendmail log neves shows from .... > to ..... so i think php never contact sendmail to send the mail) on other servers (redhat and other dist.) i dont have problems with mail functions. if you need more information please say it. thank you- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=16093&edit=1