Mailbox update

This commit is contained in:
Torsten Schulz
2023-06-16 13:14:07 +02:00
parent 0cd1c1cdbc
commit 7321d24a9c
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ class Emailinbox extends Renderer {
} }
protected function generateFolders(): void { protected function generateFolders(): void {
$folders = $this->mbox->getMailboxes("*"); $folders = $this->mbox->getMailboxes("INBOX/*");
var_dump($folders); var_dump($folders);
} }
} }

View File

@@ -453,7 +453,7 @@ class Renderer {
protected function connectToImap(): bool { protected function connectToImap(): bool {
$this->mbox = new PhpImap\Mailbox( $this->mbox = new PhpImap\Mailbox(
'{' . $this->imapServer . ':' . $this->imapPort . '/imap/ssl}INBOX', '{' . $this->imapServer . ':' . $this->imapPort . '/imap/ssl}',
$this->emailUser, $this->emailUser,
$this->emailPassword, $this->emailPassword,
__DIR__, __DIR__,