From 09f5e1b31965bb90d86b638f20eecabcf7863ca7 Mon Sep 17 00:00:00 2001 From: Torsten Schulz Date: Mon, 10 Jul 2023 11:42:35 +0200 Subject: [PATCH] Mail update --- include/mail.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/mail.php b/include/mail.php index a60df03..0d9ebaa 100644 --- a/include/mail.php +++ b/include/mail.php @@ -22,6 +22,8 @@ class Mail extends Mailhandling { protected function generateContent(): void { $this->mail = $this->fetchEmail(); $this->content['sender'] = $this->mail->headers->senderaddress; + $this->content['receiver'] = $this->mail->headers->toaddress; + $this->content['senddate'] = (new DateTime($this->mail->date))->format('d.m.Y'); $this->renderAttachments($messageStructure); }