JavaMail error + Unrecognized SSL message, plaintext connection?
问题 Using below code to read mails from a Zimbra mail server. String SSL_FACTORY = "javax.net.ssl.SSLSocketFactory"; Properties pop3Props = new Properties(); pop3Props.setProperty("mail.pop3.socketFactory.class", SSL_FACTORY); pop3Props.setProperty("mail.pop3.socketFactory.fallback", "false"); pop3Props.setProperty("mail.pop3.auth", "true"); pop3Props.setProperty("mail.pop3.port", "110"); pop3Props.setProperty("mail.pop3.socketFactory.port", "110"); URLName url = new URLName("pop3", host, 110, ""