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

SenderIsNull

public class SenderIsNull extends org.apache.mailet.GenericMatcher

Matches mails that are sent by a null sender.


<mailet match="SenderIsNull" class="<any-class>">
version
CVS $Revision: 494012 $ $Date: 2007-01-08 11:23:58 +0100 (Mo, 08 Jan 2007) $
since
2.2.0

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

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