|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.mailet.GenericMailet | +--org.apache.james.transport.mailets.GenericListservManager | +--org.apache.james.transport.mailets.AvalonListservManager
Adds or removes an email address to a listserv.
Sample configuration:
<mailet match="CommandForListserv=james@list.working-dogs.com" class="AvalonListservManager">
<repositoryName>name of user repository configured in UsersStore block </repositoryName>
</mailet>
Constructor Summary | |
AvalonListservManager()
|
Method Summary | |
boolean |
addAddress(MailAddress address)
Adds an address to the listserv. |
boolean |
existsAddress(MailAddress address)
Indicates whether an address already exists on the listserv. |
java.lang.String |
getMailetInfo()
Returns information about the mailet, such as author, version, and copyright. |
void |
init()
A convenience method which can be overridden so that there's no need to call super.init(config). |
boolean |
removeAddress(MailAddress address)
Removes an address from the listserv. |
Methods inherited from class org.apache.james.transport.mailets.GenericListservManager |
service |
Methods inherited from class org.apache.mailet.GenericMailet |
destroy, 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 AvalonListservManager()
Method Detail |
public void init()
GenericMailet
init
in class GenericMailet
public boolean addAddress(MailAddress address)
GenericListservManager
addAddress
in class GenericListservManager
public boolean removeAddress(MailAddress address)
GenericListservManager
removeAddress
in class GenericListservManager
public boolean existsAddress(MailAddress address)
GenericListservManager
existsAddress
in class GenericListservManager
public java.lang.String getMailetInfo()
GenericMailet
getMailetInfo
in interface Mailet
getMailetInfo
in class GenericMailet
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |