From 64c89c3bf2d58f885693d8f2a01a33cdfb36462c Mon Sep 17 00:00:00 2001 From: Torsten Schulz Date: Mon, 3 Jul 2023 11:38:47 +0200 Subject: [PATCH] rebuild folder structure list --- include/emailinbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/emailinbox.php b/include/emailinbox.php index 3f06d9a..0b6d3ef 100644 --- a/include/emailinbox.php +++ b/include/emailinbox.php @@ -16,7 +16,7 @@ class Emailinbox extends Renderer { protected function readEmailHeaders(): array { $cleanedHeaders = []; try { - $folders = $this->mbox->getListingFolders('ALL'); + $folders = $this->mbox->getListingFolders(); } catch(PhpImap\Exceptions\ConnectionException $ex) { echo "IMAP connection failed: " . implode(",", $ex->getErrors('all')); die();