Project

General

Profile

Actions

Bug #60437

closed

Senders name with special chars does not work in default form

Added by Ayke Halder almost 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-07-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

Special chars like Umlaute ÄÖÜ in the senders name of a form are not displayed correctly in all mail clients. And the default hostname is always added, if special chars are used.

From line in test email:

From: "Test =?utf-8?Q?=C3=84=C3=96=C3=9C_=C3=9F_=C3=A4=C3=B6=C3=BC=22?=  <Test123@example.org>"@hostname.hoster.org

Shows in Thunderbird like:
"Test ÄÖÜ ß äöü" "@hostname.hoster.org

Test ÄÖÜ ß äöü <Test123@example.org>@hostname.hoster.org

To work it should be:

From: Test =?utf-8?Q?=C3=84=C3=96=C3=9C_=C3=9F_=C3=A4=C3=B6=C3=BC?= <Test123@example.org>

Shows in Thunderbird like:
Test ÄÖÜ ß äöü

Test ÄÖÜ ß äöü <Test123@example.org>

The problem is the quotation in
typo3_src-6.2.1/typo3/sysext/form/Classes/PostProcess/MailPostProcessor.php

Lines 141 - 143:

        if (preg_match('/\\s|,/', $fromName) >= 1) {
            $fromName = '"' . $fromName . '"';
        }

Blank chars in the senders name should be handled by Swift Mailer.
I think this lines can be removed.


Files

form_test_sender-name_with_special-chars-z.t3d (3.38 KB) form_test_sender-name_with_special-chars-z.t3d Simple website with form Ayke Halder, 2014-07-24 01:31

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #60227: Update Swiftmaler to latest version to offer signed + encrypted emailsClosed2014-07-10

Actions
Actions

Also available in: Atom PDF