public class RecipientRewriteTable extends AbstractRecipientRewriteTableMailet
Constructor and Description |
---|
RecipientRewriteTable() |
Modifier and Type | Method and Description |
---|---|
String |
getMailetInfo() |
Collection<org.apache.mailet.MailAddress> |
processMail(org.apache.mailet.MailAddress sender,
org.apache.mailet.MailAddress recipient,
javax.mail.internet.MimeMessage message)
Process the mail
|
void |
setRecipientRewriteTable(RecipientRewriteTable vut)
Sets the virtual table store.
|
handleMappings, service, setDomainList
public final void setRecipientRewriteTable(RecipientRewriteTable vut)
vut
- the vutStore to set, possibly nullpublic Collection<org.apache.mailet.MailAddress> processMail(org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress recipient, javax.mail.internet.MimeMessage message) throws javax.mail.MessagingException
AbstractRecipientRewriteTableMailet
processMail
in class AbstractRecipientRewriteTableMailet
sender
- the sender of the mailrecipient
- the recipient of the mailmessage
- the mail messagejavax.mail.MessagingException
AbstractRecipientRewriteTableMailet.processMail(MailAddress, MailAddress, MimeMessage)
public String getMailetInfo()
getMailetInfo
in interface org.apache.mailet.Mailet
getMailetInfo
in class org.apache.mailet.base.GenericMailet
GenericMailet.getMailetInfo()
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.