Class BusinessUnitEmailServiceImpl

java.lang.Object
ch.tocco.nice2.businessunit.impl.services.BusinessUnitEmailServiceImpl
All Implemented Interfaces:
BusinessUnitEmailService

@Component public class BusinessUnitEmailServiceImpl extends Object implements BusinessUnitEmailService
  • Constructor Details

  • Method Details

    • getDefaultEmailSender

      public String getDefaultEmailSender()
      Description copied from interface: BusinessUnitEmailService
      when default_email_sender on the current business unit is filled, return that else, return email.default.from as defined in application.properties
      Specified by:
      getDefaultEmailSender in interface BusinessUnitEmailService
      Returns:
      the email to use as the default mail sender
    • getNoReplyEmailSender

      public String getNoReplyEmailSender()
      Description copied from interface: BusinessUnitEmailService
      when noreply_email_sender on the current business unit is filled, return that else, return email.noreply.from as defined in application.properties
      Specified by:
      getNoReplyEmailSender in interface BusinessUnitEmailService
      Returns:
      the email to use as the no-reply mail sender
    • setEmailDefaultFrom

      @Value("${email.default.from}") public void setEmailDefaultFrom(String emailDefaultFrom)
    • setEmailNoReplyFrom

      @Value("${email.noreply.from}") public void setEmailNoReplyFrom(String emailNoReplyFrom)