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); }