public class MailHandlerImpl extends Object implements MailHandler, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
MailHandlerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
send(MailObject mailObject) |
void |
send(MailObject mailObject,
boolean asynchronous) |
MailHandlerImpl |
setMailProperties(MailProperties mailProperties) |
MailHandlerImpl |
setTaskHandler(TaskHandler taskHandler) |
public MailHandlerImpl setTaskHandler(TaskHandler taskHandler)
public MailHandlerImpl setMailProperties(MailProperties mailProperties)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void send(MailObject mailObject, boolean asynchronous) throws CommonException
send in interface MailHandlerCommonExceptionpublic void send(MailObject mailObject) throws CommonException
send in interface MailHandlerCommonExceptionCopyright © 2023. All rights reserved.