From 826d61b413d8f70fe55cbe7084e113546e03415d Mon Sep 17 00:00:00 2001 From: Benjamin Klix Date: Tue, 27 Jan 2026 15:59:00 +0100 Subject: [PATCH] Update recipient and sender names to use empty string instead of null. Symfony Mailer expects the name to be a string and not null. Therefore setting the default of the names to an empty string will prevent us from throwing an exception if they are not set. --- Classes/Runtime/Action/EmailAction.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Runtime/Action/EmailAction.php b/Classes/Runtime/Action/EmailAction.php index c1aa4eb..eb43030 100644 --- a/Classes/Runtime/Action/EmailAction.php +++ b/Classes/Runtime/Action/EmailAction.php @@ -46,9 +46,9 @@ public function perform(): ?ActionResponse $html = $this->options['html'] ?? null; $recipientAddress = $this->options['recipientAddress'] ?? null; - $recipientName = $this->options['recipientName'] ?? null; + $recipientName = $this->options['recipientName'] ?? ''; $senderAddress = $this->options['senderAddress'] ?? null; - $senderName = $this->options['senderName'] ?? null; + $senderName = $this->options['senderName'] ?? ''; $replyToAddress = $this->options['replyToAddress'] ?? null; $carbonCopyAddress = $this->options['carbonCopyAddress'] ?? null; $blindCarbonCopyAddress = $this->options['blindCarbonCopyAddress'] ?? null;