src/IMAP/Message.php
public function move($mailbox, $options = 0) {
        $this->client->openFolder($this->folder_path);
        return imap_mail_move($this->client->getConnection(), $this->msglist, $mailbox, $options);
    }
public function move($mailbox, $options = 0) {
        $this->client->openFolder($this->folder_path);
        return imap_mail_move($this->client->getConnection(), $this->msglist, $mailbox, $options);
    }
public function move ( $ mailbox , $ options = 0 ) { $ this -> client -> openFolder ( $ this -> folder_path ) ; return imap_mail_move ( $ this -> client -> getConnection ( ) , $ this -> msglist , $ mailbox , $ options ) ; }
Move the current Messages to a mailbox

@param $mailbox
@param int $options

@return bool
@throws Exceptions\ConnectionFailedException
Move the current Messages to a mailbox