Interface IMailSecurityConfig
- All Known Implementing Classes:
MailSecurityConfig
public interface IMailSecurityConfig
Configuration for mail security (encryption and signing) when sending an email.
- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
Method Summary
Modifier and TypeMethodDescription@NotNull EMailSecurityTypebooleanbooleanWhether to send the mail unencrypted if encryption fails or unsigned if signing fails.booleanWhether to send the mail unsigned if signing fails.booleanisSign()
-
Method Details
-
getSecurityType
- Returns:
- The security template to use for this mail.
-
isEncrypt
boolean isEncrypt()- Returns:
- Whether to encrypt the mail.
-
isSendUnencryptedIfEncryptionFails
boolean isSendUnencryptedIfEncryptionFails()Whether to send the mail unencrypted if encryption fails or unsigned if signing fails. This is only relevant ifencryptionis enabled.- Returns:
- Whether to send the mail unencrypted if
encryptionfails. - See Also:
-
isSendUnsignedIfSigningFails
-
isSign
boolean isSign()- Returns:
- Whether to sign the mail.
-