public class FromRepository
extends org.apache.mailet.base.GenericMailet
<mailet match="RecipientIs=respool@localhost" class="FromRepository"> <repositoryPath> repository path </repositoryPath> <processor> target processor </repositoryPath> <delete&t; [true|false] </delete> </mailet>
Constructor and Description |
---|
FromRepository() |
Modifier and Type | Method and Description |
---|---|
String |
getMailetInfo()
Return a string describing this mailet.
|
void |
init()
Initialize the mailet, loading configuration information.
|
void |
service(org.apache.mailet.Mail trigger)
Spool mail from a particular repository.
|
void |
setStore(MailRepositoryStore mailStore) |
public void setStore(MailRepositoryStore mailStore)
public void init() throws javax.mail.MessagingException
init
in class org.apache.mailet.base.GenericMailet
javax.mail.MessagingException
public void service(org.apache.mailet.Mail trigger) throws javax.mail.MessagingException
service
in interface org.apache.mailet.Mailet
service
in class org.apache.mailet.base.GenericMailet
trigger
- triggering e-mail (eventually parameterize via the trigger
message)javax.mail.MessagingException
public String getMailetInfo()
getMailetInfo
in interface org.apache.mailet.Mailet
getMailetInfo
in class org.apache.mailet.base.GenericMailet
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.