Bug #88702
closedEmailFinisher - Recipients - Cannot unpack array with string keys
100%
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
Updated by Joerg Boesche over 5 years ago
Sorry, ... wrong labels ..
The right label in the T3 backend is: "Email addresses and human-readable names of the recipients" (Email Address, Name).
Updated by Susanne Moog over 5 years ago
- Related to Feature #88643: Replace SwiftMailer with Symfony/Mailer added
Updated by Gerrit Code Review over 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61237
Updated by Gerrit Code Review over 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61237
Updated by Anonymous over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7d5d3784c5c29360fe7b9494a2eca8cd1ce11c9b.
Updated by Frank Nägler about 5 years ago
- Related to Bug #89083: MailMessage setFrom and setTo are throwing exceptions added