public function move($msg_index, $folder = 'INBOX.Processed')
    {

        // move on server
        imap_mail_move($this->conn, $msg_index, $folder);
        imap_expunge($this->conn);

        // re-read the inbox
        $this->inbox($this->msg_cnt);
    }
public function move($msg_index, $folder = 'INBOX.Processed')
    {

        // move on server
        imap_mail_move($this->conn, $msg_index, $folder);
        imap_expunge($this->conn);

        // re-read the inbox
        $this->inbox($this->msg_cnt);
    }
public function move ( $ msg_index , $ folder = 'INBOX.Processed' ) { // move on server imap_mail_move ( $ this -> conn , $ msg_index , $ folder ) ; imap_expunge ( $ this -> conn ) ; // re-read the inbox $ this -> inbox ( $ this -> msg_cnt ) ; }
Move mail to folder

@param $msg_index
@param string $folder
Move mail to folder