Interface IMailEncryptionResult

All Known Implementing Classes:
MailEncryptionResult

public interface IMailEncryptionResult
The result of an email encryption operation, including the encrypted message and the results for each recipient. If encryption fails for a recipient, the corresponding result will indicate the failure.
Since:
8.5.0
Author:
Norman Lorenz
  • Method Details

    • getBody

      @NotNull @NotNull javax.mail.internet.MimeBodyPart getBody()
      The encrypted MimeBodyPart. This part contains the encrypted content of the email. It may not be encrypted for all recipients if some recipients' encryption failed, which will be indicated in the recipient results.
      Returns:
      The encrypted MimeBodyPart.
    • getRecipientResults

      @NotNull @NotNull Collection<IRecipientEncryptionResult> getRecipientResults()
      The encryption results for each recipient. The result indicates whether encryption was successful for that recipient.
      Returns:
      A collection of recipient encryption results.