public class ToRepository
extends org.apache.mailet.base.GenericMailet
Constructor and Description |
---|
ToRepository() |
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 mail)
Store a mail in 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 mail) throws javax.mail.MessagingException
service
in interface org.apache.mailet.Mailet
service
in class org.apache.mailet.base.GenericMailet
mail
- the mail to processjavax.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.