throw new UnsupportedOperationException("Method not yet implemented");
MimeMessage reply = new MimeMessage(session);   String newSubject = getSubject(); if (newSubject != null) {   if (!newSubject.regionMatches(true, 0, "Re: ", 0, 4)) { newSubject = "Re: " + newSubject; } reply.setSubject(newSubject); }  Address[] toRecipients = getReplyTo();   reply.setRecipients(Message.RecipientType.TO, getReplyTo());   if (replyToAll) {   HashMap masterList = new HashMap();   InternetAddress localMail = InternetAddress.getLocalAddress(session); if (localMail != null) { masterList.put(localMail.getAddress(), localMail); }  String alternates = session.getProperty(MAIL_ALTERNATES); if (alternates != null) {  Address[] alternateList = InternetAddress.parse(alternates, false); mergeAddressList(masterList, alternateList); }       Address[] toList = pruneAddresses(masterList, getRecipients(Message.RecipientType.TO)); if (toList.length != 0) {    if (SessionUtil.getBooleanProperty(session, MAIL_REPLYALLCC, false)) { reply.addRecipients(Message.RecipientType.CC, toList); } else { reply.addRecipients(Message.RecipientType.TO, toList); } }  toList = pruneAddresses(masterList, getRecipients(Message.RecipientType.CC)); if (toList.length != 0) { reply.addRecipients(Message.RecipientType.CC, toList); }    toList = getRecipients(RecipientType.NEWSGROUPS); if (toList != null && toList.length != 0) { reply.addRecipients(RecipientType.NEWSGROUPS, toList); } }      setFlags(new Flags(Flags.Flag.ANSWERED), true);  return reply;
    public Message reply(boolean replyToAll) throws MessagingException {        // TODO Implement method        throw new UnsupportedOperationException("Method not yet implemented");    }