|
||||||||||
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
public class 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)
Add an address to the list. |
boolean |
existsAddress(MailAddress address)
Indicates whether an address already exists on the listserv. |
java.lang.String |
getMailetInfo()
Return a string describing this mailet. |
void |
init()
Initialize the mailet |
boolean |
removeAddress(MailAddress address)
Remove an address from the list. |
Methods inherited from class org.apache.james.transport.mailets.GenericListservManager |
---|
service |
Methods inherited from class org.apache.mailet.GenericMailet |
---|
destroy, 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 AvalonListservManager()
Method Detail |
---|
public void init()
init
in class GenericMailet
public boolean addAddress(MailAddress address)
addAddress
in class GenericListservManager
address
- the address to add
public boolean removeAddress(MailAddress address)
removeAddress
in class GenericListservManager
address
- the address to remove
public boolean existsAddress(MailAddress address)
GenericListservManager
existsAddress
in class GenericListservManager
public java.lang.String getMailetInfo()
getMailetInfo
in interface Mailet
getMailetInfo
in class GenericMailet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |