From f9e7af737730be0c0800bf22ce24e3eb960dae21 Mon Sep 17 00:00:00 2001 From: Torsten Schulz Date: Mon, 10 Jul 2023 13:44:27 +0200 Subject: [PATCH] Mail update --- include/mail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mail.php b/include/mail.php index 64b036b..2053768 100644 --- a/include/mail.php +++ b/include/mail.php @@ -26,10 +26,10 @@ class Mail extends Mailhandling { $this->content['senddate'] = (new DateTime($this->mail->date))->format('d.m.Y'); $this->content['emailbody'] = $this->mail->textHtml ?? $this->mail->textPlain; $this->content['subject'] = $this->mail->subject; - $this->renderAttachments($messageStructure); + $this->renderAttachments(); } - protected function renderAttachments($messageStructure): void { + protected function renderAttachments(): void { $attachments = $this->mail->getAttachments(); $contentArray = []; foreach ($attachments as $attachment) {