Migrate fom javax.mail to jakarta.mail: SMIMEToolkit.isEncrypted
I try to migrate a spring-boot 3 project from
Send smime signed and encrypted mail using bouncy castle java
I am trying to send the smime signed and encrypted mail using my email IDs. I got two smime certificates each for my two Gmail IDs. I tried to use the SMIMETestUtil class for testing the scenario. I am successfully able to send mail from one email to another. But when I am trying to open it, I receive the error “Your digital ID name cannot be found by the underlying security system”.