[TYPO3-core] RFC: Bugfix 8199: Incorrect multiline headers in boundary parts (t3lib_htmlmail)

Ralf Hettinger ng at ralfhettinger.de
Wed May 21 20:51:28 CEST 2008


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=8199

Branches: 4.2


Problem:
There are some ";" boundary multiline header separators missing when creating
mails with attachements via class t3lib_htmlmail.

For most mail clients this isn't a problem but it prevents certain webmailers
(like squirrel) to recognize file types of attached files properly since they
can't figure an attached file's name (and ending).

Additionally, it would be quite useful for avoiding TYPO3-mails being filtered
as spam if pdf-attachements would be declared as Content-Type: application/pdf
(currently application/octet-stream). If you feel this is abusing bugfixing for
foisting a feature on the current release, then please feel free to cut the
relevant lines or claim a more pure patch.


Solution:
Add ";" to multiline headers of boundary parts where needed.
Add a case for attaching pdf files.


Ralf Hettinger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8199.patch
Type: text/x-patch
Size: 1930 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080521/69ce2d88/attachment.bin 


More information about the TYPO3-team-core mailing list