folder handling changed
This commit is contained in:
@@ -12,9 +12,10 @@ class Mailhandling extends Renderer {
|
||||
}
|
||||
|
||||
protected function fetchEmail(): PhpImap\IncomingMail {
|
||||
$mailsIds = $this->mbox->searchMailbox('ALL');
|
||||
$mailsIds = $this->mbox->searchMailbox($this->folder);
|
||||
if (!in_array($this->uid, $mailsIds)) {
|
||||
echo 'nicht auffindbar';
|
||||
var_dump($this->folder, $this->uid);
|
||||
die;
|
||||
}
|
||||
$mail = $this->mbox->getMail($this->uid);
|
||||
|
||||
Reference in New Issue
Block a user