Class JiraEmailSender

java.lang.Object
com.codebarrel.jira.plugin.automation.email.JiraEmailSender
All Implemented Interfaces:
EmailSender

@Component public class JiraEmailSender extends Object implements EmailSender
  • Constructor Details

    • JiraEmailSender

      @Inject public JiraEmailSender(com.atlassian.mail.queue.MailQueue mailQueue, com.atlassian.mail.server.MailServerManager mailServerManager)
  • Method Details

    • getDefaultFromAddress

      public String getDefaultFromAddress()
    • sendEmail

      public SendResult sendEmail(Environment environment, Email emailToSend)
      Description copied from interface: EmailSender
      Sends an e-mail to the set of to addresses with the subject and body provided. Returns any errors in the error collection.
      Specified by:
      sendEmail in interface EmailSender