Bug #24444
closedMail created with FORM content element and swift mailer shows empty body in thunderbird
0%
Description
I've created a simple FORM content element:
Name: | *name = input,40 | Enter your name here
Email: | *email=input,40 |
Address: | address=textarea,40,5 |
Contact me: | tv=check | 1
|formtype_mail = submit | Send form! |html_enabled=hidden | 1 |subject=hidden| This is the subject
In thunderbird the mail is shown as empty, until I either disable the swift mailer hook in config_default, or disable html mail in the form. I'd guess this has to do with a Content-Type setting in the header, but I'm not sure about that without digging deeper.
(issue imported from #M16879)
Files
Updated by Christian Kuhn almost 14 years ago
@Jigal van Hemert: Would you like to take a look at this one? afaik you've also done the swift mailer integration, and might be better trained with those topics.
Updated by Jigal van Hemert almost 14 years ago
The Content-Type header was indeed not parsed correctly. I trimmed of any trailing semicolons, but that didn't fix it.
The problem is that the multi-part body is set as the body when instantiating a new mailing object.
Solution is probably to dissect the body and add each part separately.
Will try to fix it this year ;-)
Updated by Ernesto Baschny almost 14 years ago
It's pending in the core list, some reviews and tests would be great to get this finalized. Thanks!
Updated by Christian Kuhn almost 14 years ago
This one is resolved as dupe of #24471