Class EmailSender

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

@Component public class EmailSender extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
     
    void
    sendHTML(com.xebialabs.xlrelease.notifications.configuration.SmtpServer smtpServer, Email email)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EmailSender

      @Autowired 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)
  • 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