ID: 43327
Updated by: garretts@php.net
Reported By: carsten_sttgt at gmx dot de
Status: Closed
Bug Type: Mail related
Operating System: win32 only (?)
PHP Version: 5.*, 6 (2009-08-07)
Assigned To: garretts
New Comment:
Carsten,
Can you retest with the latest 5.3 snapshot, and post feedback?
Thanks
Previous Comments:
------------------------------------------------------------------------
[2009-08-19 18:43:46] svn@php.net
Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=287480
Log: - fixed #43327, wrong return value from mail(), if sendmail_path
is wrong
------------------------------------------------------------------------
[2009-08-19 16:15:49] garretts@php.net
or, it will be once I get some karma in /TSRM ...
------------------------------------------------------------------------
[2009-08-19 16:10:43] garretts@php.net
This occurs because popen_ex executes the command using the comspec
('cmd.exe'), which will always create a valid process--but intended
actual child process fails.
I'm patching this so that it skips using cmd.exe--there is really no
reason this should be here, if this introduces other problems (which I
can't see what they could possibly be), then those should be fixed
appropriately.
Patched in all branches (5.2.11-dev, 5.3.1-dev and trunk)
------------------------------------------------------------------------
[2009-07-20 10:08:36] carsten_sttgt at gmx dot de
After some delay...
If've just test this with PHP 5.3.0 and mail() still returns TRUE, even
if PHP can't find the sendmail binary or the sendmail binary returns an
errorlevel != 0.
Regards,
Carsten)
------------------------------------------------------------------------
[2008-08-26 23:28:16] jani@php.net
Pierre, this is the real issue, sendmail_path is not checked or
something?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/43327
--
Edit this bug report at http://bugs.php.net/?id=43327&edit=1