Skip to content

Commit 3035fdc

Browse files
committed
Messageset issue resolved
1 parent c760ebe commit 3035fdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/IMAP/Message.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,8 +536,8 @@ private function getEncoding($structure) {
536536
public function moveToFolder($mailbox = 'INBOX'){
537537
$this->client->createFolder($mailbox);
538538

539-
if(imap_mail_move($this->client->connection, $this->msglist, $mailbox) == true){
540-
return imap_expunge($this->client->connection);
539+
if(imap_mail_move($this->client->getConnection(), $this->msglist, $mailbox) == true){
540+
return true;
541541
}
542542
return false;
543543
}

0 commit comments

Comments
 (0)