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 Type
    Method
    Description
    If signing failed due to an exception, this method returns the exception that caused the failure.
    @NotNull javax.mail.Address
    Gets the sender address used for signing the email.
    boolean
    Indicates 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.