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) {