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 Details

    • MailHandlerImpl

      public MailHandlerImpl()
  • Method Details

    • setTaskHandler

      public MailHandlerImpl setTaskHandler(net.ideahut.springboot.task.TaskHandler taskHandler)
    • setMailProperties

      public MailHandlerImpl setMailProperties(net.ideahut.springboot.mail.MailProperties mailProperties)
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • send

      public void send(MailObject mailObject, boolean asynchronous) throws Exception
      Specified by:
      send in interface MailHandler
      Throws:
      Exception
    • send

      public void send(MailObject mailObject) throws Exception
      Specified by:
      send in interface MailHandler
      Throws:
      Exception