Project

General

Profile

Actions

Bug #88702

closed

EmailFinisher - Recipients - Cannot unpack array with string keys

Added by Joerg Boesche almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2019-07-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:

Description

The EmailFinisher throws an exception with the message "*Cannot unpack array with string keys*" if the recipient list has a "Human-readable name of the sender" and an "Email address of the sender (Default: "{email}")".

Affected class: \TYPO3\CMS\Form\Domain\Finishers\EmailFinisher
Method: executeInternal
Input-Variable $recipients:

$recipients = [
 'foo@bar.com => 'Foo Bar'
];

...
        $mail->from(new NamedAddress($senderAddress, $senderName))
            ->to(...$recipients)
            ->subject($subject);
...


Files

t3-ext-form-recipients-config.png (33.6 KB) t3-ext-form-recipients-config.png Joerg Boesche, 2019-07-08 13:57

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #88643: Replace SwiftMailer with Symfony/MailerClosedBenni Mack2019-07-05

Actions
Related to TYPO3 Core - Bug #89083: MailMessage setFrom and setTo are throwing exceptionsClosedFrank Nägler2019-09-04

Actions
Actions

Also available in: Atom PDF