return mMessages[index];
return pm;
    Pop3Msg getMsg(int index) throws Pop3CmdException {        if (index < 0 || index >= mMessages.length)            throw new Pop3CmdException("invalid message");        Pop3Msg pm = mMessages[index];        //if (pm.isDeleted())         //    throw new Pop3CmdException("message is deleted");        return mMessages[index];    }