Skip to content

Commit 96c441e

Browse files
gareth-ibWebklex
authored andcommitted
Fix moved message to use same options as original message (#209)
1 parent 84664a1 commit 96c441e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IMAP/Message.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ public function moveToFolder($mailbox = 'INBOX', $expunge = false, $create_folde
983983
if($expunge) $this->client->expunge();
984984
$this->client->openFolder($target_folder->path);
985985

986-
return $target_folder->getMessage($target_status->uidnext);
986+
return $target_folder->getMessage($target_status->uidnext, $this->msglist, $this->fetch_options, $this->fetch_body, $this->fetch_attachment, $this->fetch_flags);
987987
}
988988

989989
return null;

0 commit comments

Comments
 (0)