Name

javax.mail.search.RecipientStringTerm — This class allows comparisons between recipient headers (e.g., TO, CC, BCC), operating on address strings rather than Address objects.

Synopsis

public final class RecipientStringTerm extends AddressStringTerm {
    // Public Constructor
            public RecipientStringTerm(Message.RecipientType type,
java.lang.String pattern);
    // Public Methods
            public Message.RecipientType getRecipientType();
            public boolean match(Message msg);
}

Hierarchy

java.lang.Object→javax.mail.search.SearchTerm→javax.mail.search.
StringTerm→javax.mail.search.AddressStringTerm→javax.mail.search.
RecipientStringTerm

Get Programming Internet Email now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.