Bug #15524 Updated: mail() fails if invoked from a root directory script
| From: | elixer@php.net | Date: | Tue, 12 Feb 2002 18:00:08 +0000 |
| Subject: | Bug #15524 Updated: mail() fails if invoked from a root directory script | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-200@lists.php.net to get a copy of this message | ||
ID: 15524
Updated by: elixer@php.net
Reported By: jcelle@cforj.com
Status: Open
-Bug Type: Scripting Engine problem
+Bug Type: Mail related
Operating System: windows nt 4.0 server sp6a
PHP Version: 4.1.1
New Comment:
reclassify
Previous Comments:
------------------------------------------------------------------------
[2002-02-12 10:37:46] jcelle@cforj.com
- web server is O'Reilly website 2.4.
- test.php contains following script :
mail( "jcelle@cforj.com", "TEST", "Hello World", "From:
postmaster@cforj.com" );
- 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 this bug report at http://bugs.php.net/?id=15524&edit=1