[TYPO3-core] RFC #16879: bug: Mail created with FORM content element and swift mailer shows empty body in thunderbird
Christian Kuhn
lolli at schwarzbu.ch
Fri Dec 31 16:02:52 CET 2010
Hey,
On 12/31/2010 02:07 PM, Jigal van Hemert wrote:
> Problem:
> To make the new Swift Mailer features available to the entire core a
> hook subscriber was made to route messages sent with t3lib_utility_Mail
> to the new Swift Mailer.
> Two problems were found when sending HTML mails:
> - the trailing semicolon of the Content-Type header was not removed,
> resulting in double semicolons
> - multi-part email messages were not split in separate parts. Instead
> the entire body was used and Swift Mailer considered that to be a single
> body part which needed encoding.
>
> Solution:
> - trim trailing semicolon of Content-Type headers
> - parse the message body, decode each part and add it to the new message
> object
Thanks for taking care of this issue so quickly!
Something seems to be wrong with either the php file or the patch:
lolli at petunia:~/svn/TYPO3v4/trunk$ patch -p0 --dry-run <
/home/lolli/16879.patch
patching file t3lib/mail/class.tx_t3lib_mail_hooks.php
Hunk #1 FAILED at 45.
Hunk #2 FAILED at 61.
Hunk #3 FAILED at 88.
Hunk #4 FAILED at 118.
Hunk #5 FAILED at 125.
Hunk #6 FAILED at 133.
Hunk #7 FAILED at 218.
7 out of 7 hunks FAILED -- saving rejects to file
t3lib/mail/class.tx_t3lib_mail_hooks.php.rej
Dos line endings in the source file or something like that?
Regards
Christian
More information about the TYPO3-team-core
mailing list