Package com.blazebit.mail

Examples of com.blazebit.mail.Recipient


    }
  }

  private void setReplyTo(Mail email, Message message)
      throws UnsupportedEncodingException, MessagingException {
    Recipient replyToRecipient = email.getReplyTo();

    if (replyToRecipient != null) {
      InternetAddress replyToAddress = new InternetAddress(
          replyToRecipient.getAddress(), replyToRecipient.getName());
      message.setReplyTo(new Address[] { replyToAddress });
    }
  }
View Full Code Here

TOP

Related Classes of com.blazebit.mail.Recipient

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.