ID: 37122 Updated by: [EMAIL PROTECTED] Reported By: php-bugs at t43 dot mine dot nu Status: Open -Bug Type: Documentation problem +Bug Type: *Mail Related Operating System: Windows PHP Version: 5.1.2 New Comment:
AFAICT "Return-Path" isn't set by PHP at all unless you specificly put it in the headers yourself. The sendmail_from however seems to override (if specified) the "From" header which either needs to be documented or fixed. Possible fix: http://php.is/bugs/37122/win32.sendmail.patch.txt (Reclassified as php bug). -Hannes Previous Comments: ------------------------------------------------------------------------ [2006-04-18 22:51:31] php-bugs at t43 dot mine dot nu similar bugs for mail() on Windows, but software-related, are 28038, 37073. Mine is documentation-related. ------------------------------------------------------------------------ [2006-04-18 17:36:53] php-bugs at t43 dot mine dot nu applies to version 5.1.2 ------------------------------------------------------------------------ [2006-04-18 17:35:28] php-bugs at t43 dot mine dot nu Description: ------------ The "sendmail_from" value from php.ini goes into the header Return-Path:, not into From: When it is not set, the From: header is required and duplicated into Return-Path:. Return-Path: cannot be set in the headers. sendmail_from has priority over From: für the Return-Path: A comment to Bug 14407 indeed says that sendmail_from is Return-Path: but this information is missing in the manual and opposite to what is written, namely that sendmail_from goes into From:. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37122&edit=1