Package com.jalios.jcms.mail
Interface MailListener
-
- All Superinterfaces:
java.lang.Comparable
- All Known Subinterfaces:
MailPolicyFilter
- All Known Implementing Classes:
AbstractDataMailPolicyFilter
,AbstractMailListener
,AttachementsMailListener
,BasicMailPolicyFilter
,IncomingMailListener
,MemberMailListener
,ThreadMailListener
public interface MailListener extends java.lang.Comparable
- Author:
- Jean-Philippe Encausse
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
fetchMessage(MailMessage mail, boolean stored, java.util.Map<java.lang.String,java.lang.Object> ctxt)
Invoked after a mail was fetch.
-
-
-
Method Detail
-
fetchMessage
boolean fetchMessage(MailMessage mail, boolean stored, java.util.Map<java.lang.String,java.lang.Object> ctxt)
Invoked after a mail was fetch.- Parameters:
mail
- the javax.mail.Message fetchedstored
- boolean to store MailMessage in JCMSctxt
- a context used to store information- Returns:
- boolean stored
-
-