From 7321d24a9c60cf75a86f98dbedafc88eacc98ae1 Mon Sep 17 00:00:00 2001 From: Torsten Schulz Date: Fri, 16 Jun 2023 13:14:07 +0200 Subject: [PATCH] Mailbox update --- include/emailinbox.php | 2 +- include/renderer.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/emailinbox.php b/include/emailinbox.php index f81193f..c6b55d8 100644 --- a/include/emailinbox.php +++ b/include/emailinbox.php @@ -62,7 +62,7 @@ class Emailinbox extends Renderer { } protected function generateFolders(): void { - $folders = $this->mbox->getMailboxes("*"); + $folders = $this->mbox->getMailboxes("INBOX/*"); var_dump($folders); } } diff --git a/include/renderer.php b/include/renderer.php index c3031c3..909b4df 100644 --- a/include/renderer.php +++ b/include/renderer.php @@ -453,7 +453,7 @@ class Renderer { protected function connectToImap(): bool { $this->mbox = new PhpImap\Mailbox( - '{' . $this->imapServer . ':' . $this->imapPort . '/imap/ssl}INBOX', + '{' . $this->imapServer . ':' . $this->imapPort . '/imap/ssl}', $this->emailUser, $this->emailPassword, __DIR__,