def parse_message_ids(self, values):
    message_ids = []
    for value in ensure_list(values):
        value = stringify(value)
        if (value is None):
            continue
        for message_id in self.MID_RE.findall(value):
            message_id = message_id.strip()
            if (len(message_id) <= 4):
                continue
            message_ids.append(message_id)
    return message_ids
def parse_message_ids(self, values):
    message_ids = []
    for value in ensure_list(values):
        value = stringify(value)
        if (value is None):
            continue
        for message_id in self.MID_RE.findall(value):
            message_id = message_id.strip()
            if (len(message_id) <= 4):
                continue
            message_ids.append(message_id)
    return message_ids