#20610 [Bgs]: mail() does not work on Windows 95, but does work on Win2000

From: Date: Sun, 24 Nov 2002 18:39:01 +0000
Subject: #20610 [Bgs]: mail() does not work on Windows 95, but does work on Win2000
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25730@lists.php.net to get a copy of this message
ID: 20610 User updated by: dmitry@koteroff.ru Reported By: dmitry@koteroff.ru Status: Bogus Bug Type: Mail related Operating System: Windows 95 PHP Version: 4.3.0RC1 New Comment: It's a very strange thing, because on Win2000 all works correctly. What's the difference between Win95 and Win2000 in the stage of opening process streams?.. You see that popen() works in both OSes. By the way, I didn't find in the documentation direct (!) instruction, that sendmail_path does not work on Windows. Maybe it's a documentation problem?.. Previous Comments: ------------------------------------------------------------------------ [2002-11-24 12:29:55] iliaa@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. On windows PHP connects directly to the SMTP specified via the SMTP ini setting, the sendmail_path is only used on UNIX based systems. ------------------------------------------------------------------------ [2002-11-24 10:38:43] dmitry@koteroff.ru Mail() function does not work on Win95. Seems to me it simply doesn't call sendmail stub. PHP.ini: sendmail_path = z:/usr/sbin/sendmail -t -i test.php: <?mail("test@test.com","sbj","body")?> z:/usr/sbin/sendmail.exe is a debug stub. It reads STDIN and put data to the file (tested OK on Win2000 & Win95 from command line). On Win2000 all works correctly, promlems are only on Windows 95. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20610&edit=1

« previous php.bugs (#25730) next »