javax.mail.NoSuchProviderException: No provider for imaps
Hello Community ,
We trying to connect to an IMAP mail server using javax.mail package on the Oracle database. This works fine if we use normal “imap” however it gives an error when we try to use “imaps”.
The error: “javax.mail.NoSuchProviderException: No provider for imaps” tells us the imaps classes are not available / not implemented.
We need a solution where we can uses “imaps” connect using javax.mail.
We cannot implement a newer version of javax.mail ourselves as it clashes with the one that comes with the database.
Has anyone come across this issue and fixed it?