rebuild folder structure list

This commit is contained in:
Torsten Schulz
2023-07-03 11:38:47 +02:00
parent 7a935eb0e7
commit 64c89c3bf2

View File

@@ -16,7 +16,7 @@ class Emailinbox extends Renderer {
protected function readEmailHeaders(): array { protected function readEmailHeaders(): array {
$cleanedHeaders = []; $cleanedHeaders = [];
try { try {
$folders = $this->mbox->getListingFolders('ALL'); $folders = $this->mbox->getListingFolders();
} catch(PhpImap\Exceptions\ConnectionException $ex) { } catch(PhpImap\Exceptions\ConnectionException $ex) {
echo "IMAP connection failed: " . implode(",", $ex->getErrors('all')); echo "IMAP connection failed: " . implode(",", $ex->getErrors('all'));
die(); die();