[TYPO3-core] RFC #9523: class.t3lib_htmlmail.php produces null headers in HTML messages

Martin Kutschker masi-no at spam-typo3.org
Thu Oct 9 11:27:25 CEST 2008


Xavier Perseguers schrieb:
> This is a SVN patch request.
> 
> Branches: 4.2
> 
> BT reference: http://bugs.typo3.org/view.php?id=9523
> 
> Problem:
> 
> When sending a multi-part message in MIME format, the 4.2.2 version of
> class.t3lib_htmlmail.php outputs an additional semicolon on the
> Content-Type header definition which is interpreted as a violation by
> antispam solutions such as MailScanner as it detects a null header. This
> leads to the message being quarantined.
> 
> Solution:
> 
> Revert to valid behaviour of 4.2.1 with attached patch.

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.

Masi


More information about the TYPO3-team-core mailing list