Skip to content

Commit 410af11

Browse files
authored
Update LegacyProtocol.php (#234)
imap_reopen as imap_open requires folder argument to start with the bracket, ie address
1 parent 79464cd commit 410af11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Connection/Protocols/LegacyProtocol.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function selectFolder(string $folder = 'INBOX') {
189189
throw new RuntimeException("failed to reopen stream.");
190190
}
191191

192-
\imap_reopen($this->stream, $folder, $flags, 3);
192+
\imap_reopen($this->stream, $this->getAddress().$folder, $flags, 3);
193193
$this->uid_cache = null;
194194
return $this->examineFolder($folder);
195195
}

0 commit comments

Comments
 (0)