rebuild read out email

This commit is contained in:
Torsten Schulz
2023-07-06 12:21:39 +02:00
parent 7abdd5940d
commit cb1f42fe8f

View File

@@ -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);