InternetAddress[] addrs = getHeaderAsAddresses("Sender", isStrictAddressing());
Address[] addrs = getHeaderAsAddresses("Sender", isStrictAddressing());
    public Address getSender() throws MessagingException {        InternetAddress[] addrs = getHeaderAsAddresses("Sender", isStrictAddressing());        return addrs.length > 0 ? addrs[0] : null;    }