|
|||||||||||
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.GenericListserv | +--org.apache.james.transport.mailets.AvalonListserv
MailingListServer capability.
Requires a configuration element in the .conf.xml file of the form:
<repositoryName>name of user repository configured in UsersStore block </repositoryName>
<membersonly>
<attachmentsallowed>
<replytolist>
<subjectprefix>
Field Summary | |
protected boolean |
attachmentsAllowed
|
protected boolean |
membersOnly
|
protected boolean |
replyToList
|
protected java.lang.String |
subjectPrefix
|
Constructor Summary | |
AvalonListserv()
|
Method Summary | |
java.lang.String |
getMailetInfo()
Returns information about the mailet, such as author, version, and copyright. |
java.util.Collection |
getMembers()
Returns a Collection of MailAddress objects of members to receive this email |
java.lang.String |
getSubjectPrefix()
An optional subject prefix which will be surrounded by []. |
void |
init()
A convenience method which can be overridden so that there's no need to call super.init(config). |
boolean |
isAttachmentsAllowed()
Returns whether this listserv allow attachments |
boolean |
isMembersOnly()
Returns whether this list should restrict to senders only |
boolean |
isReplyToList()
Returns whether listserv should add reply-to header |
Methods inherited from class org.apache.james.transport.mailets.GenericListserv |
getListservAddress, 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 |
Field Detail |
protected boolean membersOnly
protected boolean attachmentsAllowed
protected boolean replyToList
protected java.lang.String subjectPrefix
Constructor Detail |
public AvalonListserv()
Method Detail |
public void init()
GenericMailet
init
in class GenericMailet
public java.util.Collection getMembers() throws javax.mail.internet.ParseException
GenericListserv
getMembers
in class GenericListserv
javax.mail.internet.ParseException
public boolean isMembersOnly()
GenericListserv
isMembersOnly
in class GenericListserv
public boolean isAttachmentsAllowed()
GenericListserv
isAttachmentsAllowed
in class GenericListserv
public boolean isReplyToList()
GenericListserv
isReplyToList
in class GenericListserv
public java.lang.String getSubjectPrefix()
GenericListserv
getSubjectPrefix
in class GenericListserv
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 |