FileDocCategorySizeDatePackage
IsSingleRecipient.javaAPI DocApache James 2.3.11624Fri Jan 12 12:56:32 GMT 2007org.apache.james.transport.matchers

IsSingleRecipient

public class IsSingleRecipient extends org.apache.mailet.GenericMatcher
version
1.0.0, 04/12/2000

Fields Summary
Constructors Summary
Methods Summary
public java.util.Collectionmatch(org.apache.mailet.Mail mail)

        if (mail.getRecipients().size() == 1) {
            return mail.getRecipients();
        } else {
            return null;
        }