Address[] replyTo = new Address[1];  replyTo[0] = new InternetAddress(addstr); message.setReplyTo(replyTo);
    public void setReplyTo(String addstr) throws Exception {        if (addstr.indexOf("@") < 0) {            throw new AddressException();        }        Address[] replyTo = new Address[1];        replyTo[0] = new InternetAddress(addstr);        message.setReplyTo(replyTo);    }