|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jsieve.mailet.RejectAction
public class RejectAction
Performs the rejection of a mail, with a reply to the sender.
An instance maybe safe accessed concurrently by multiple threads.
Constructor Summary | |
---|---|
RejectAction()
|
Method Summary | |
---|---|
void |
execute(Action action,
org.apache.mailet.Mail mail,
ActionContext context)
Executes the given action. |
void |
execute(ActionReject anAction,
org.apache.mailet.Mail aMail,
ActionContext context)
Method execute executes the passed ActionReject. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RejectAction()
Method Detail |
---|
public void execute(Action action, org.apache.mailet.Mail mail, ActionContext context) throws javax.mail.MessagingException
MailAction
execute
in interface MailAction
action
- not nullmail
- not nullcontext
- not null
javax.mail.MessagingException
- when action cannot be executedpublic void execute(ActionReject anAction, org.apache.mailet.Mail aMail, ActionContext context) throws javax.mail.MessagingException
Method execute executes the passed ActionReject. It sends an RFC 2098 compliant reject MDN back to the sender.
NOTE: The Mimecontent type should be 'report', but as we do not yet have a DataHandler for this yet, its currently 'text'!
anAction
- not nullaMail
- not nullcontext
- not null
javax.mail.MessagingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |