Project

General

Profile

Actions

Bug #24444

closed

Mail created with FORM content element and swift mailer shows empty body in thunderbird

Added by Christian Kuhn almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2010-12-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

16879.patch (5.23 KB) 16879.patch Administrator Admin, 2010-12-31 13:34

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #24471: Restructure of t3lib_utility_Mail hook subscriberClosedJigal van Hemert2011-01-04

Actions
Actions #1

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.

Actions #2

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 ;-)

Actions #3

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!

Actions #4

Updated by Christian Kuhn almost 14 years ago

This one is resolved as dupe of #24471

Actions #5

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF