[TYPO3-core] RFC: #8522 Problems with PHP mail function on Windows

Andreas Otto andreas at otto-hanika.de
Tue Apr 29 13:25:46 CEST 2008


Hi Masi,

Martin Kutschker schrieb:
> But why are then the From: and Reply-To: headers affected? They won't 
> appear in the SMTP protocol itself. And it's these fields that the patch 
> addresses.
> 
> It's quite clear (and even stated in the PHP docs) that the described 
> behaviour is true for the To: header. Though To: is set also by the 
> first mail() argument. *
> 
> Masi
> 
> * A clever implementation of mail() would set the To: header only if not 
> present in the additional header argument.

Did you check the example script I have attached to the bug report?

If put on a win32 system it behaves as dscribed in the bug report.


Cheers,
Andreas

-- 

Amazon wishlist: <http://www.amazon.de/gp/registry/14PIOKAJCIH95>


More information about the TYPO3-team-core mailing list