| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mailet.base.GenericMailet
org.apache.james.transport.mailets.ToRepository
public class ToRepository
Stores incoming Mail in the specified Repository. If the "passThrough" in confs is true the mail will be returned untouched in the pipe. If false will be destroyed.
| Constructor Summary | |
|---|---|
| ToRepository() | |
| Method Summary | |
|---|---|
|  java.lang.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. | 
| Methods inherited from class org.apache.mailet.base.GenericMailet | 
|---|
| arrayToString, checkInitParameters, destroy, getInitParameter, getInitParameter, getInitParameter, getInitParameterNames, getMailetConfig, getMailetContext, getMailetName, init, log, log | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ToRepository()
| Method Detail | 
|---|
public void init()
init in class org.apache.mailet.base.GenericMailet
public void service(org.apache.mailet.Mail mail)
             throws javax.mail.MessagingException
service in interface org.apache.mailet.Mailetservice in class org.apache.mailet.base.GenericMailetmail - the mail to process
javax.mail.MessagingExceptionpublic java.lang.String getMailetInfo()
getMailetInfo in interface org.apache.mailet.MailetgetMailetInfo in class org.apache.mailet.base.GenericMailet| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||