From f49c20a6a278ad3b674edefc3fade719ea30bf7b Mon Sep 17 00:00:00 2001 From: tchapi Date: Fri, 18 Mar 2022 17:51:24 +0100 Subject: [PATCH] Sender name can also be null --- src/Plugins/DavisIMipPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/DavisIMipPlugin.php b/src/Plugins/DavisIMipPlugin.php index d6b07dd..3eabb59 100644 --- a/src/Plugins/DavisIMipPlugin.php +++ b/src/Plugins/DavisIMipPlugin.php @@ -205,7 +205,7 @@ public function schedule(ITip\Message $itip) $message = (new TemplatedEmail()) ->from(new Address($this->senderEmail, $senderName.' '.static::MESSAGE_ORIGIN_INDICATOR)) ->to(new Address($recipientEmail, $recipientName ?? '')) - ->replyTo(new Address($senderEmail, $senderName)) + ->replyTo(new Address($senderEmail, $senderName ?? '')) ->subject($subject); if (DAV\Server::$exposeVersion) {