Class SendMailAction
java.lang.Object
org.apache.unomi.plugins.mail.actions.SendMailAction
- All Implemented Interfaces:
ActionExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetMailServerHostName(String mailServerHostName) voidsetMailServerPassword(String mailServerPassword) voidsetMailServerPort(int mailServerPort) voidsetMailServerSSLOnConnect(boolean mailServerSSLOnConnect) voidsetMailServerUsername(String mailServerUsername) voidsetPersistenceService(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:
executein interfaceActionExecutor- Parameters:
action- theActionto executeevent- theEventthat triggered the action- Returns:
- an integer status corresponding to what happened as defined by public constants of
EventService
-