|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.mailet.base.GenericMailet org.apache.james.transport.mailets.MailAttributesToMimeHeaders
public class MailAttributesToMimeHeaders
Convert attributes to headers
Sample configuration:
<mailet match="All" class="MailAttributesToMimeHeaders">
<simplemapping>org.apache.james.attribute1;
headerName1</simplemapping>
<simplemapping>org.apache.james.attribute2;
headerName2</simplemapping> </mailet>
Constructor Summary | |
---|---|
MailAttributesToMimeHeaders()
|
Method Summary | |
---|---|
void |
init()
|
void |
service(Mail mail)
|
Methods inherited from class org.apache.mailet.base.GenericMailet |
---|
arrayToString, checkInitParameters, destroy, getInitParameter, getInitParameter, getInitParameter, getInitParameterNames, getMailetConfig, getMailetContext, getMailetInfo, 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 MailAttributesToMimeHeaders()
Method Detail |
---|
public void init() throws javax.mail.MessagingException
init
in class GenericMailet
javax.mail.MessagingException
GenericMailet
public void service(Mail mail)
service
in interface Mailet
service
in class GenericMailet
GenericMailet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |