Bug #15373 Updated: mail() not working, no error with invalid SMTP or email address

From: Date: Tue, 05 Feb 2002 02:16:27 +0000
Subject: Bug #15373 Updated: mail() not working, no error with invalid SMTP or email address
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-79167@lists.php.net to get a copy of this message
ID: 15373 Updated by: alonso@loquequeda.com Reported By: alonso@loquequeda.com Status: Open Bug Type: Mail related Operating System: win2000 PHP Version: 4.1.1 New Comment: I mean 4.10 and 4.1.1 Previous Comments: ------------------------------------------------------------------------ [2002-02-04 21:15:43] alonso@loquequeda.com I just tried php 4.0.6 in same machine and it now gives errors when incorrect smtp. And guess what: it sends emails too when smtp is correct! So this is a problem in 4.1.0 and 4.1.0. ------------------------------------------------------------------------ [2002-02-04 21:00:22] alonso@loquequeda.com I moved a program from winnt4 php 4.0.6 to win2000 php 4.1.1 and now mail doesn't work. In fact no matter what I put in SMTP in php.ini or if the email address is correct, mail() always returns 1. Always, immediately returns 1. It never sends emails even with correct parameters and SMTP. If it at least gave an error I would know why it doesn't work. I tried 4.1.0 and is same thing. OS is win2000 fresh install with IIS5. Webserver is Apache but php.exe works the same way. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15373&edit=1

« previous php.dev (#79167) next »