FileDocCategorySizeDatePackage
Null.javaAPI DocApache James 2.3.11853Fri Jan 12 12:56:30 GMT 2007org.apache.james.transport.mailets

Null

public class Null extends org.apache.mailet.GenericMailet
Simplest Mailet which destroys any incoming messages.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetMailetInfo()
Return a string describing this mailet.

return
a string describing this mailet

        return "Null Mailet";
    
public voidservice(org.apache.mailet.Mail mail)
Set this mail to GHOST state, indicating that no further processing should take place.

param
mail the mail to process

        mail.setState(Mail.GHOST);