Class EmailSenderServiceSecuredImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      org.springframework.mail.javamail.JavaMailSender emailSender  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void sendSimpleEmail​(java.lang.String to, java.lang.String subject, java.lang.String text)
      This method send a email.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • emailSender

        @Autowired
        public org.springframework.mail.javamail.JavaMailSender emailSender
    • Constructor Detail

      • EmailSenderServiceSecuredImpl

        public EmailSenderServiceSecuredImpl()
    • Method Detail

      • sendSimpleEmail

        @Async("asyncTaskExecutor")
        public void sendSimpleEmail​(java.lang.String to,
                                    java.lang.String subject,
                                    java.lang.String text)
        Description copied from interface: EmailSenderServiceSecured
        This method send a email.
        Specified by:
        sendSimpleEmail in interface EmailSenderServiceSecured
        Parameters:
        to - field database entity whose will be send email
        subject - field for database entity and subject for email
        text - field for database entity and content for email