Pentaho:Javax 邮件错误

Pentaho: Javax mail errror

我想在 Pentaho 作业中发送电子邮件,但出现此错误:

Job failed alert - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : Problem while sending message: javax.mail.MessagingException: Could not connect to SMTP host: email.....amazonaws.com, port: 465;
2022/04/26 09:57:17 - Job failed alert -   nested exception is:
2022/04/26 09:57:17 - Job failed alert -    javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

知道如何解决这个问题吗?

Pentaho 仅支持 TLSv1,并且已经弃用了一段时间。大多数 SMTP 服务器需要 TLSv1.2 或 TLSv1.3。您将需要实现对 TLSv1.2 的支持,或者找到一个允许 TLSv1 的电子邮件服务,现在 TLSv1 变得越来越不常见了。