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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Exception getException()
      If signing failed due to an exception, this method returns the exception that caused the failure.
      @NotNull javax.mail.Address getSender()
      Gets the sender address used for signing the email.
      boolean isSuccess()
      Indicates whether the signing operation was successful.
    • Method Detail

      • 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:
        isSuccess()
      • 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.