Mail update

This commit is contained in:
Torsten Schulz
2023-07-10 13:05:54 +02:00
parent ae0b96bc9f
commit 6036b652ad

View File

@@ -25,7 +25,7 @@ class Mail extends Mailhandling {
$this->content['receiver'] = $this->mail->headers->toaddress; $this->content['receiver'] = $this->mail->headers->toaddress;
$this->content['senddate'] = (new DateTime($this->mail->date))->format('d.m.Y'); $this->content['senddate'] = (new DateTime($this->mail->date))->format('d.m.Y');
$this->content['emailbody'] = $this->mail->textHtml ?? $this->mail->textPlain; $this->content['emailbody'] = $this->mail->textHtml ?? $this->mail->textPlain;
$this->content['subject'] = $this->mail->headers->subject; $this->content['subject'] = $this->mail->subject;
$this->renderAttachments($messageStructure); $this->renderAttachments($messageStructure);
} }