Class SendMailAction
java.lang.Object
org.apache.unomi.plugins.mail.actions.SendMailAction
- All Implemented Interfaces:
ActionExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
setMailServerHostName
(String mailServerHostName) void
setMailServerPassword
(String mailServerPassword) void
setMailServerPort
(int mailServerPort) void
setMailServerSSLOnConnect
(boolean mailServerSSLOnConnect) void
setMailServerUsername
(String mailServerUsername) void
setPersistenceService
(PersistenceService persistenceService)
-
Constructor Details
-
SendMailAction
public SendMailAction()
-
-
Method Details
-
setPersistenceService
-
setMailServerHostName
-
setMailServerPort
public void setMailServerPort(int mailServerPort) -
setMailServerUsername
-
setMailServerPassword
-
setMailServerSSLOnConnect
public void setMailServerSSLOnConnect(boolean mailServerSSLOnConnect) -
execute
Description copied from interface:ActionExecutor
- Specified by:
execute
in interfaceActionExecutor
- Parameters:
action
- theAction
to executeevent
- theEvent
that triggered the action- Returns:
- an integer status corresponding to what happened as defined by public constants of
EventService
-