ID: 15524 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Mail related Operating System: windows nt 4.0 server sp6a PHP Version: 4.1.1 New Comment:
I also have a problem on win nt 4.0 terminal server edition. mail function doesn't work becasue there is a problem finding the ini file.. thanks Previous Comments: ------------------------------------------------------------------------ [2002-02-14 05:22:28] [EMAIL PROTECTED] Trying to narrow a bit more this misbehaviour I used Website 3.1.11 (now from Deerfield) succesfully, meaning thus that it is certainly the previous 2.4 version of Website that causes the problem. A workaround for those who cannot upgrade to version 3.x of Website is to place such scipts in a subdirectory of the site-root directory. ------------------------------------------------------------------------ [2002-02-12 13:00:07] [EMAIL PROTECTED] reclassify ------------------------------------------------------------------------ [2002-02-12 10:37:46] [EMAIL PROTECTED] - 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 this bug report at http://bugs.php.net/?id=15524&edit=1
