Skip to content

Commit

Permalink
Merge pull request #210 from lincome/master
Browse files Browse the repository at this point in the history
Fix mailbox switchMailbox  method
  • Loading branch information
barbushin authored Nov 30, 2017
2 parents 9b7a33c + 667dab7 commit 656ec7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpImap/Mailbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function getImapStream($forceConnection = true) {
*/
public function switchMailbox($imapPath) {
$this->imapPath = $imapPath;
$this->imap('reopen', $this->imapPath);
$this->imap('reopen', $this->imapPath,false);
}

protected function initImapStreamWithRetry() {
Expand Down

0 comments on commit 656ec7b

Please sign in to comment.