Class EmailSender

java.lang.Object
com.xebialabs.xlrelease.notifications.email.EmailSender

@Component public class EmailSender extends Object
  • Constructor Details

    • EmailSender

      public EmailSender(com.xebialabs.xlrelease.repository.ConfigurationRepository configurationRepository, com.xebialabs.xlrelease.notifications.email.EmailFactory emailFactory, com.xebialabs.xlrelease.config.XlrConfig xlrConfig, com.xebialabs.xlrelease.service.ConfigurationService configurationService, @Qualifier("auxiliary") ExecutorService auxiliaryExecutor)
  • Method Details

    • scheduleEmail

      public CompletableFuture<Void> scheduleEmail(Email email)
    • sendEmailSync

      public void sendEmailSync(Email email) throws jakarta.mail.MessagingException, com.xebialabs.deployit.exception.NotFoundException
      Throws:
      jakarta.mail.MessagingException
      com.xebialabs.deployit.exception.NotFoundException
    • sendHTML

      public void sendHTML(com.xebialabs.xlrelease.notifications.configuration.SmtpServer smtpServer, Email email) throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException