技术文章 - CS342318
Windchill PDMLink 中的电子邮件通知失败,错误为“无法将套接字转换为 TLS”
已修改: 28-May-2025
适用于
- Windchill PDMLink 12.0 to 12.1
说明
- 大量EmailQueue条目处于就绪状态,且具有未来的计划时间
- EmailQueue 条目因
Latest Delivery Time Exceeded而失败 - 按照CS288408中的步骤配置 Windchill 连接到 Office365 SMTP 后,发送电子邮件失败
- 在EmailQueue中,请参阅无法将套接字转换为 TLS 消息
- 进入就绪状态重新排队

- 将wt.mail JMX 日志级别设置为 ALL,发送电子邮件后,查看方法服务器日志中的以下日志消息
2021-04-05 10:13:03,563 INFO [EMailQueue.SchedulingThread] wt.system.err Administrator - javax.mail.MessagingException: Could not convert socket to TLS; 2021-04-05 10:13:03,563 INFO [EMailQueue.SchedulingThread] wt.system.err Administrator - nested exception is: 2021-04-05 10:13:03,563 INFO [EMailQueue.SchedulingThread] wt.system.err Administrator - 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 2021-04-05 10:13:03,563 INFO [EMailQueue.SchedulingThread] wt.system.err Administrator - at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:2155) 2021-04-05 10:13:03,563 INFO [EMailQueue.SchedulingThread] wt.system.err Administrator - at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:752)
这是文章 342318 的 PDF 版本,可能已过期。最新版本 CS342318