From 45bc236112758dc351d6896aaa61e7dc2e2b2485 Mon Sep 17 00:00:00 2001 From: Torsten Schulz Date: Fri, 16 Jun 2023 16:14:10 +0200 Subject: [PATCH] Mailbox update --- include/emailinbox.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/emailinbox.php b/include/emailinbox.php index 65cb92b..b46394e 100644 --- a/include/emailinbox.php +++ b/include/emailinbox.php @@ -69,10 +69,10 @@ class Emailinbox extends Renderer { protected function generateFolders(): void { $this->connectToImap(); - $folders = $this->mbox->getMailboxes("*"); + $folders = $this->mbox->getListingFolders("*"); + var_dump($folders);die; $folderItems = []; foreach ($folders as $folder) { - var_dump($folder); $item = '
  • folder ? ' class="active-folder"' : '') . '>' . utf8_encode($folder['shortpath']) . '
  • '; @@ -81,3 +81,4 @@ class Emailinbox extends Renderer { $this->content['folders'] = implode('', $folderItems); } } +