Class SendMailAction
java.lang.Object
org.nuxeo.ecm.platform.mail.action.SendMailAction
- All Implemented Interfaces:
MessageAction
Action to answer the mail. It expects the text of the answer to be in the context under the "message" key.
- Author:
- Alexandre Russel
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
execute
(ExecutionContext context) Executes one action.void
reset
(ExecutionContext context)
-
Field Details
-
session
protected final javax.mail.Session session -
textMessage
-
-
Constructor Details
-
SendMailAction
-
-
Method Details
-
execute
Description copied from interface:MessageAction
Executes one action.If it returns false, the following actions from the pipe are not executed.
- Specified by:
execute
in interfaceMessageAction
- Throws:
javax.mail.MessagingException
- See Also:
-
reset
- Specified by:
reset
in interfaceMessageAction
-