我正在开发用于将电子邮件从我的域发送到 gmail.com 的代码
我得到一个SSLHandshakeException
(见下文)。
这个怎么解决??
Exception in thread "main" javax.mail.MessagingException: Could not convert socket to TLS;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target