String header = (String) i.next(); InternetAddress.parseHeader(addrs, header, strict, true);
InternetHeader header = (InternetHeader) i.next(); InternetAddress.parseHeader(addrs, header.getValue(), strict, true);
    InternetAddress[] getHeaderAsAddresses(String name, boolean strict) throws MessagingException {        List addrs = new ArrayList();        List headers = getHeaderList(name);        if (headers == null) {            return null;        }        for (Iterator i = headers.iterator(); i.hasNext();) {            String header = (String) i.next();            InternetAddress.parseHeader(addrs, header, strict, true);        }        return (InternetAddress[]) addrs.toArray(new InternetAddress[addrs.size()]);    }