javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building f
发送邮件中意人寿的私有服务器邮件时报这个错,折腾了半天发现propsMail.setProperty("mail.smtp.starttls.enable","false");//是否启用STARTTLS安全连接,设置为falsepackagenc.smtp;importjava.util.Date;importjava.util.Properties;importjavax.activation