[TYPO3-core] RFC #9523: class.t3lib_htmlmail.php produces null headers in HTML messages
Xavier Perseguers
typo3 at perseguers.ch
Thu Oct 9 11:30:43 CEST 2008
Hi Masi,
> A valid header looks like this (copied from a REAL mail):
>
> Content-Type: multipart/mixed;
> boundary="------------080408070507090401020005"
>
> That is before the boundary there MUST be a semi colon to make an RFC
> compliant header.
Yes, and if you look at code, you'll see that this semicolon is already
there, when calling method getHTMLContentType:
public function getHTMLContentType() {
return (count($this->theParts['html']['media']) ? 'multipart/related;'
: 'multipart/alternative;');
}
Thus this extra semicolon *does* violate the RFC
--
Xavier Perseguers
http://xavier.perseguers.ch/en
More information about the TYPO3-team-core
mailing list