Package javax.mail.search

Examples of javax.mail.search.RecipientStringTerm


  /**
   * Defines filter for CC field.
   */
  public EmailFilter cc(String ccAddress) {
    SearchTerm toTerm = new RecipientStringTerm(Message.RecipientType.CC, ccAddress);
    concat(toTerm);
    return this;
  }
View Full Code Here


  /**
   * Defines filter for BCC field.
   */
  public EmailFilter bcc(String bccAddress) {
    SearchTerm toTerm = new RecipientStringTerm(Message.RecipientType.BCC, bccAddress);
    concat(toTerm);
    return this;
  }
View Full Code Here

TOP

Related Classes of javax.mail.search.RecipientStringTerm

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.