//ssl设置
final String SSL_FACTORY = "javax.net.ssl.SSLSocketFactory";
Properties props = System.getProperties();
props.setProperty("mail.pop3.socketFactory.class", SSL_FACTORY);
props.setProperty("mail.pop3.socketFactory.fallback", "false");
props.put("mail.pop3.host", "pop.qq.com");
props.put("mail.pop3.auth.plain.disable","true");
props.put("mail.pop3.ssl.enable", "true");