ID:              35906
 User updated by: brian at macserve dot net
 Reported By:     brian at macserve dot net
 Status:          Closed
 Bug Type:        Mail related
 PHP Version:     4.4.1
 New Comment:

I understand that this is now fixed under Windows.

My extended comments were stating that the the real culprit for MY
particular issue with this was being caused by Postfix.

Since the mail() command calls the "sendmail" binary to submit a new
email message, it's not PHP's fault that Postfix is creating a non-RFC
compliant Date header.

I THOUGHT is was PHP's fault and investigating it brought the issue for
Windows mail() code to light.

My other questions still stand as to improving the intelligence of the
mail() command under non-Windows systems so as to create as close to
parity in calling mail() across all platforms.

Why does the Windows code only get the Date header checking code, when
the non-Windows code would benefit just as greatly.


Previous Comments:
------------------------------------------------------------------------

[2006-01-06 02:13:26] [EMAIL PROTECTED]

I don't know what you're talking about, but the sendmail.c you pointed
at is only used within Windows. And that part is now fixed.

------------------------------------------------------------------------

[2006-01-06 01:59:56] brian at macserve dot net

I don't have Windows either.

I was seeing this under Mac OS 10.3.9 (Postfix/sendmail), so looking at
the code and the bug fixes told me it was still around.

I guess it's Postfix fixup that is the culprit here.

2 Questions:

1. What logic was applied that determined that *nix PHP can't  utilize
the SMTP engine that is present in Win32PHP?

2. For consistency sake, wouldn't it be better to have the code for
outputting messages across the same platforms do the same thing
regardless of final SMTP chain injection method?

As in, the same code that is used to detect/add Date: headers (in the
proper format) should be used on messages submitted through mail() on
ALL platforms.

This should have zero effect on *nix platforms as the "sendmail"
emulators shouldn't add another Date header, if already present.


Brian

------------------------------------------------------------------------

[2006-01-06 01:36:20] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

I just committed a fix for this. Please test in about 6 hours.

------------------------------------------------------------------------

[2006-01-05 23:15:50] [EMAIL PROTECTED]

I am not the maintainer of Win32 mail code, I don't even have windows
so I can't test this. This is not a problem on any other OS than
Windows either, as that doesn't use the sendmail.c code.

------------------------------------------------------------------------

[2006-01-05 21:33:38] [EMAIL PROTECTED]

Assigned to the maintainer.

------------------------------------------------------------------------

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/35906

-- 
Edit this bug report at http://bugs.php.net/?id=35906&edit=1

Reply via email to