Does anyone have a working recipe for javax.mail? The Eclipse Orbit repo has two versions of javax.mail: javax.mail and javax.mail.glassfish. I have tried both. If I use javax.mail, I get:
javax.mail.NoSuchProviderException: Unable to locate provider for protocol: smtp
And if I use javax.mail.glassfish, I get:
java.lang.ClassNotFoundException: javax.net.SocketFactory not found by javax.mail.glassfish [8]
I tried setting
-runsystempackages: javax.net in my launch.bndrun, but that didn’t help.
In each case, I’m using javax.activation 1.1.0 from Eclipse Orbit.
Bryan