Class AllowedFromPatternResolver

java.lang.Object
ch.tocco.nice2.messaging.mail.impl.AllowedFromPatternResolver

@Component public class AllowedFromPatternResolver extends Object
  • Constructor Details

    • AllowedFromPatternResolver

      public AllowedFromPatternResolver(org.slf4j.Logger log)
  • Method Details

    • getPattern

      @Nullable public @Nullable Pattern getPattern()
    • setEmailAllowedFromDomainsRegex

      @Value("${email.allowedFromDomainsRegex}") public void setEmailAllowedFromDomainsRegex(String emailAllowedFromDomainsRegex)
      Sets the regular expression defining the domains which can be securely used by the application for mailing.
      Parameters:
      emailAllowedFromDomainsRegex - the regular expression string.