org.apache.jsieve.mailet
Interface MailAction
- All Known Implementing Classes:
- FileIntoAction, KeepAction, RedirectAction, RejectAction
public interface MailAction
Executes a Sieve action.
Implementations may be accessed concurrently by multiple threads.
execute
void execute(Action action,
org.apache.mailet.Mail mail,
ActionContext context)
throws javax.mail.MessagingException
- Executes the given action.
- Parameters:
action
- not nullmail
- not nullcontext
- not null
- Throws:
javax.mail.MessagingException
- when action cannot be executed
Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.