Mail read out changed

This commit is contained in:
Torsten Schulz
2023-07-03 12:37:40 +02:00
parent 910940295a
commit e176e60c21

View File

@@ -12,7 +12,8 @@ class Mailhandling extends Renderer {
}
protected function fetchEmailHeader(array &$content): void {
$header = imap_headerinfo($this->mbox, $this->uid);
$mail = $this->mbox->getMail($this->uid);
var_dump($mail);die;
$content['sender'] = imap_utf8($header->fromaddress);
$content['receiver'] = imap_utf8($header->toaddress);
$content['subject'] = imap_utf8($header->subject);