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);
    }