@@ -295,7 +295,7 @@ public function __get($name) {
295295 */
296296 public function copy ($ mailbox , $ options = 0 ) {
297297 $ this ->client ->openFolder ($ this ->folder_path );
298- return imap_mail_copy ($ this ->client ->getConnection (), $ this ->msglist , $ mailbox , $ options );
298+ return imap_mail_copy ($ this ->client ->getConnection (), $ this ->uid , $ mailbox , IMAP :: CP_UID );
299299 }
300300
301301 /**
@@ -309,7 +309,7 @@ public function copy($mailbox, $options = 0) {
309309 */
310310 public function move ($ mailbox , $ options = 0 ) {
311311 $ this ->client ->openFolder ($ this ->folder_path );
312- return imap_mail_move ($ this ->client ->getConnection (), $ this ->msglist , $ mailbox , $ options );
312+ return imap_mail_move ($ this ->client ->getConnection (), $ this ->uid , $ mailbox , IMAP :: CP_UID );
313313 }
314314
315315 /**
@@ -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 , $ this -> msglist , $ this ->fetch_options , $ this ->fetch_body , $ this ->fetch_attachment , $ this ->fetch_flags );
986+ return $ target_folder ->getMessage ($ target_status ->uidnext , null , $ this ->fetch_options , $ this ->fetch_body , $ this ->fetch_attachment , $ this ->fetch_flags );
987987 }
988988
989989 return null ;
0 commit comments