public class CheckSenderAction extends Object implements MessageAction
If the sender is in the user directory, it put the principal as a string in the context under the "sender" key.
| Constructor and Description | 
|---|
CheckSenderAction()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
execute(ExecutionContext context)
Executes one action. 
 | 
void | 
reset(ExecutionContext context)  | 
public CheckSenderAction()
public boolean execute(ExecutionContext context) throws javax.mail.MessagingException
MessageActionIf it returns false, the following actions from the pipe are not executed.
execute in interface MessageActionjavax.mail.MessagingExceptionExecutionContextpublic void reset(ExecutionContext context)
reset in interface MessageActionCopyright © 2019 Nuxeo. All rights reserved.