Package net.ideahut.springboot.mail
Class MailHandlerImpl
java.lang.Object
net.ideahut.springboot.mail.MailHandlerImpl
- All Implemented Interfaces:
MailHandler,org.springframework.beans.factory.InitializingBean
public class MailHandlerImpl
extends Object
implements MailHandler, org.springframework.beans.factory.InitializingBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsend(MailObject mailObject) voidsend(MailObject mailObject, boolean asynchronous) setMailProperties(net.ideahut.springboot.mail.MailProperties mailProperties) setTaskHandler(net.ideahut.springboot.task.TaskHandler taskHandler)
-
Constructor Details
-
MailHandlerImpl
public MailHandlerImpl()
-
-
Method Details
-
setTaskHandler
-
setMailProperties
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
send
- Specified by:
sendin interfaceMailHandler- Throws:
Exception
-
send
- Specified by:
sendin interfaceMailHandler- Throws:
Exception
-