Mail update

This commit is contained in:
Torsten Schulz
2023-07-10 11:42:35 +02:00
parent fed42d0a7d
commit 09f5e1b319

View File

@@ -22,6 +22,8 @@ class Mail extends Mailhandling {
protected function generateContent(): void { protected function generateContent(): void {
$this->mail = $this->fetchEmail(); $this->mail = $this->fetchEmail();
$this->content['sender'] = $this->mail->headers->senderaddress; $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); $this->renderAttachments($messageStructure);
} }