Class CheckSenderAction
java.lang.Object
org.nuxeo.ecm.platform.mail.action.CheckSenderAction
- All Implemented Interfaces:
MessageAction
Action that check the mail address against the user directory. If the address of the sender is not in the user
directory, the mail is not processed further.
If the sender is in the user directory, it put the principal as a string in the context under the "sender" key.
- Author:
- Alexandre Russel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(ExecutionContext context) Executes one action.voidreset(ExecutionContext context)
-
Constructor Details
-
CheckSenderAction
public CheckSenderAction()
-
-
Method Details
-
execute
Description copied from interface:MessageActionExecutes one action.If it returns false, the following actions from the pipe are not executed.
- Specified by:
executein interfaceMessageAction- Throws:
javax.mail.MessagingException- See Also:
-
reset
- Specified by:
resetin interfaceMessageAction
-