Mail update
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user