From: [EMAIL PROTECTED] Operating system: windows nt 4.0 server sp6a PHP version: 4.1.1 PHP Bug Type: Scripting Engine problem Bug description: mail() fails if invoked from a root directory script
- web server is O'Reilly website 2.4. - test.php contains following script : mail( "[EMAIL PROTECTED]", "TEST", "Hello World", "From: [EMAIL PROTECTED]" ); - this file is duplicated so that it is in two directories : 1/ first directory = c:\www and corresponds to root directory of the web site www.cforj.com. -> from there (http://www.cforj.com/test.php) the script fails (mail() returns FALSE. 2/ second directory is a sub-directory c:\www\more and when acccessed through http://www.cforj.com/more/test.php the mail() function do work. I don't know where to investigate from there. In case 1/ the SMTP logs show no attempt of connection at all while in case 2/ I can clearly see the complete SMTP conversation. This is wether a Website (O'Reilly) problem or a PHP problem. I tried to turn PHP error reporting to its max but got no information. -- Edit bug report at http://bugs.php.net/?id=15524&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15524&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15524&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15524&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15524&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15524&r=support Expected behavior: http://bugs.php.net/fix.php?id=15524&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15524&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15524&r=submittedtwice