| java.lang.Object org.apache.mailet.GenericMailet org.apache.james.transport.mailets.GenericListserv
All known Subclasses: org.apache.james.transport.mailets.AvalonListserv, org.apache.james.transport.mailets.JDBCListserv,
GenericListserv | abstract public class GenericListserv extends GenericMailet (Code) | | An abstract implementation of a listserv. The underlying implementation must define
various settings, and can vary in their individual configuration. Supports restricting
to members only, allowing attachments or not, sending replies back to the list, and an
optional subject prefix.
|
getListservAddress | public MailAddress getListservAddress() throws MessagingException(Code) | | The email address that this listserv processes on. If returns null, will use the
recipient of the message, which hopefully will be the correct email address assuming
the matcher was properly specified.
|
getMembers | abstract public Collection getMembers() throws MessagingException(Code) | | Returns a Collection of MailAddress objects of members to receive this email
|
getSubjectPrefix | abstract public String getSubjectPrefix() throws MessagingException(Code) | | An optional subject prefix.
|
isAttachmentsAllowed | abstract public boolean isAttachmentsAllowed() throws MessagingException(Code) | | Returns whether this listserv allow attachments
|
isMembersOnly | abstract public boolean isMembersOnly() throws MessagingException(Code) | | Returns whether this list should restrict to senders only
|
isPrefixAutoBracketed | public boolean isPrefixAutoBracketed() throws MessagingException(Code) | | Should the subject prefix be automatically surrounded by [].
whether the subject prefix will be surrounded by [] throws: MessagingException - never, for this implementation |
isReplyToList | abstract public boolean isReplyToList() throws MessagingException(Code) | | Returns whether listserv should add reply-to header
|
service | final public void service(Mail mail) throws MessagingException(Code) | | Processes the message. Assumes it is the only recipient of this forked message.
|
|
|