public interface EmailGovernance
Mailer
instance.
In simpeler terms: this class represents actions taken or configuration used by default for each individual email sent through the current mailer. For example, you might want to S/MIME sign all emails by default. You can do it manually on each email of course, but then the keystore used for this not reused.
Modifier and Type | Method and Description |
---|---|
@Nullable com.sanctionco.jmail.EmailValidator |
getEmailValidator() |
@Nullable Pkcs12Config |
getPkcs12ConfigForSmimeSigning() |
@Nullable @Nullable com.sanctionco.jmail.EmailValidator getEmailValidator()
null
if no validation should be done.MailerGenericBuilder.withEmailValidator(EmailValidator)
,
EmailValidator
@Nullable @Nullable Pkcs12Config getPkcs12ConfigForSmimeSigning()
Copyright © 2009–2022. All rights reserved.