In older versions (e.g. 23.11.) MailMessage had an encrypt method that took an array of X509Certificate2 as parameter so we were able to encrypt a MailMessage for multiple recipients.
It seems the API has changed in new…...Email Product Family email-java arne411 November 24, 2025, 7:09am...algorithms) in one class. The SmimeKey class provides ways to add...