rebuild read out email
This commit is contained in:
@@ -12,7 +12,8 @@ class Mailhandling extends Renderer {
|
||||
}
|
||||
|
||||
protected function fetchEmailHeader(array &$content): void {
|
||||
$mail = $this->mbox->getMail($this->uid, false);
|
||||
$mailsIds = $this->mbox->searchMailbox('ALL');
|
||||
$mail = $this->mbox->getMail($mailsIds[0]); //$this->uid, false);
|
||||
var_dump($mail);die;
|
||||
$content['sender'] = imap_utf8($header->fromaddress);
|
||||
$content['receiver'] = imap_utf8($header->toaddress);
|
||||
|
||||
Reference in New Issue
Block a user