Mail update

This commit is contained in:
Torsten Schulz
2023-07-10 11:29:42 +02:00
parent 905fb5d681
commit 9405019bb7
2 changed files with 4 additions and 23 deletions

View File

@@ -20,9 +20,8 @@ class Mail extends Mailhandling {
}
protected function generateContent(): void {
// $messageStructure = imap_fetchstructure($this->mbox, $this->uid);
$this->fetchEmailHeader($this->content);
$this->fetchEmailBody($messageStructure, $this->content, 'INBOX', FT_PEEK);
$this->mail = $this->fetchEmail();
$this->content['sender'] = $this->mail->headers->senderaddress;
$this->renderAttachments($messageStructure);
}