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

Martin Kutschker masi-no at spam-typo3.org
Fri Oct 10 10:06:17 CEST 2008


Dmitry Dulepov schrieb:
> Hi!
> 
> Xavier Perseguers wrote:
>> 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.
> 
> No go :( This will still make invalid MIME. According to the [1]
> semicolon is possible only if parameters follow. I propose a different
> solution (attached). This would be correct also from logical point of
> view because function named getHTMLContentType() should return content
> type, not a composite text.

I agree, so #1.

Masi


More information about the TYPO3-team-core mailing list