The next version of standard Java, due in mid-March, will have Transport Layer Security (TLS) 1.2 set by default, thus providing encrypted Internet communications. But the move is not a solution for ...
Now you can use the following code to replace a socket factory: final String SSL_FACTORY = "javax.net.ssl.SSLSocketFactory"; Properties props = System.getProperties(); // IMAP provider ...