Interface IMailSigningResult
- All Known Implementing Classes:
MailSigningResult
public interface IMailSigningResult
The result of an email signing operation, including the sender address used for signing, whether the signing was
successful, and any exception that occurred if it was not.- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
Method Summary
Modifier and TypeMethodDescriptionIf signing failed due to an exception, this method returns the exception that caused the failure.@NotNull javax.mail.AddressGets the sender address used for signing the email.booleanIndicates whether the signing operation was successful.
-
Method Details
-
getException
Exception getException()If signing failed due to an exception, this method returns the exception that caused the failure. If signing was successful, this method returns null.- Returns:
- The exception if signing failed, or null if it was successful.
- See Also:
-
getSender
@NotNull @NotNull javax.mail.Address getSender()Gets the sender address used for signing the email.- Returns:
- The sender address.
-
isSuccess
boolean isSuccess()Indicates whether the signing operation was successful.- Returns:
- true if signing was successful, false otherwise.
-