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