|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jsieve.mailet.FileIntoAction
public class FileIntoAction
Performs the filing of a mail into a specified destination.
An instance maybe safe accessed concurrently by multiple threads.
Constructor Summary | |
---|---|
FileIntoAction()
|
Method Summary | |
---|---|
void |
execute(ActionFileInto anAction,
org.apache.mailet.Mail aMail,
ActionContext context)
Executes the passed ActionFileInto. |
void |
execute(Action action,
org.apache.mailet.Mail mail,
ActionContext context)
Executes the given action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileIntoAction()
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(ActionFileInto anAction, org.apache.mailet.Mail aMail, ActionContext context) throws javax.mail.MessagingException
Executes the passed ActionFileInto.
This implementation accepts any destination with the root of INBOX
.
As the current POP3 server does not support sub-folders, the mail is stored in the INBOX for the recipient of the mail and the full intended destination added as a prefix to the message's subject.
When IMAP support is added to James, it will be possible to support
sub-folders of INBOX
fully.
anAction
- aMail
- context
- not null
javax.mail.MessagingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |