java.lang.Object
es.kukenan.smartfi.microservice.communication.service.provider.impl.smtp.SmtpMailNotificationHandler
All Implemented Interfaces:
NotificationProviderHandler

@Component @RefreshScope public class SmtpMailNotificationHandler extends Object implements NotificationProviderHandler
Service class that holds all the mail notification sending bussiness logic.
  • Field Details

    • mailFrom

      @Value("${spring.mail.username}") String mailFrom
      SMTP mail sender.
    • mailSender

      @Autowired org.springframework.mail.javamail.JavaMailSender mailSender
      Smtp Rest client.
  • Constructor Details

    • SmtpMailNotificationHandler

      public SmtpMailNotificationHandler()
  • Method Details