Spring mvc 使用javamail api从IBM Websphere Application Server 8发送邮件
如何使用javamail 1.5.2 api从IBM Websphere Application Server 8使用gmail发送邮件,因为这会给我一个相同的错误:Spring mvc 使用javamail api从IBM Websphere Application Server 8发送邮件,spring-mvc,jakarta-mail,websphere-8,Spring Mvc,Jakarta Mail,Websphere 8,如何使用javamail 1.5.2 api从IBM Websphere Application Server 8使用gmail发送邮件,因为这会给我一个相同的错误: Caused by: java.security.cert.CertPathValidatorException: The certificate issued by OU=Equifax Secure Certificate Authority, O=Equifax, C=US is not trusted; internal
Caused by: java.security.cert.CertPathValidatorException: The certificate issued by OU=Equifax Secure Certificate Authority, O=Equifax, C=US is not trusted; internal cause is: java.security.cert.CertPathValidatorException: Certificate chaining error
您需要将Google证书导入WebSphere的信任存储 WebSphere不信任该证书。您正在尝试向使用SSL的服务器发送电子邮件 最简单的方法是使用从端口检索 您可以在此处找到信息: 您是否使用了正确的值进行检索
- 主机:smtp.gmail.com
- 港口:465
- 别名:gmail