摘要: 报错代码 javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator. 阅读全文
posted @ 2020-04-01 23:46 奋斗的渣渣 阅读(10279) 评论(0) 推荐(1) 编辑
摘要: 公司新做了一个项目,需要用到邮件发送功能。因为以前同事在其他项目上做过邮件模块,所以直接移植过来了。 本以为很简单的功能,直接copy多好。然而命运多舛。 调用发送邮件的代码时候报错。 主要代码: Properties props = new Properties(); props.put("mai 阅读全文
posted @ 2020-04-01 23:38 奋斗的渣渣 阅读(1737) 评论(0) 推荐(0) 编辑