技术文章 - CS288408

在 Windchill PDMLink 中配置 Office 365 时,电子邮件通知失败,并显示错误“无法连接到 SMTP 主机”

已修改: 11-Jun-2025   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 10.2 M030-CPS08 to 13.0
  • FlexPLM 12.0

说明

  • 如何配置 Windchill 以与SMTPS兼容的邮件集成?
  • 参考CS46949配置 Windchill 邮件集成,但不起作用。
  • 将电子邮件服务器更改为 Office 365 后,Windchill 不会生成电子邮件。
  • 方法服务器日志中的错误:
     [EMailQueue.SchedulingThread] wt.system.out Administrator - EMailMessage message submission failed [EMailQueue.SchedulingThread] wt.system.err Administrator - javax.mail.MessagingException: Could not connect to SMTP host: smtp.office365.com, port: 587;
  • 当 Office 365 配置 SSL 时,电子邮件失败。
  • 使用 Office 365 SMTP 服务器时无法通过“快速链接” > “电子邮件页面”发送电子邮件
  • 方法服务器日志:
     INFO [EMailQueue.SchedulingThread] wt.system.out Administrator - DEBUG SMTP: Attempt to authenticate using mechanisms: LOGIN PLAIN DIGEST-MD5 NTLM XOAUTH2 INFO [EMailQueue.SchedulingThread] wt.system.out Administrator - DEBUG SMTP: mechanism LOGIN not supported by server INFO [EMailQueue.SchedulingThread] wt.system.out Administrator - DEBUG SMTP: mechanism PLAIN not supported by server INFO [EMailQueue.SchedulingThread] wt.system.out Administrator - DEBUG SMTP: mechanism DIGEST-MD5 not supported by server INFO [EMailQueue.SchedulingThread] wt.system.out Administrator - DEBUG SMTP: Using mechanism NTLM INFO [EMailQueue.SchedulingThread] wt.system.out Administrator - DEBUG NTLM: type 1 message: 4E 54 4C 4D 53 53 50 00 01 00 00 00 03 A2 00 00 00 00 00 00 26 00 00 00 06 00 06 00 20 00 00 00 70 6C 6D 70 72 6F INFO [EMailQueue.SchedulingThread] wt.system.out Administrator - DEBUG SMTP: AUTH NTLM command trace suppressed INFO [EMailQueue.SchedulingThread] wt.system.out Administrator - DEBUG NTLM: type 3 message: 4E 54 4C 4D 53 53 50 00 03 00 00 00 18 00 18 00 60 00 00 00 18 00 18 00 78 00 00 00 00 00 00 00 40 00 00 00 14 00 14 00 40 00 00 00 0C 00 0C 00 54 00 00 00 00 00 00 00 90 00 00 00 01 82 00 00 70 00 6C 00 6D 00 40 00 68 00 79 00 63 00 2E 00 63 00 6E 00 70 00 6C 00 6D 00 70 00 72 00 6F 00 3C 68 C3 90 A0 A8 24 32 2B B6 45 C8 53 25 35 61 84 78 49 60 1A 8E F4 9F B5 B9 AF B4 D3 B9 99 EB 1F 48 D2 A3 46 D3 6F A7 84 8B 6F 73 D4 B4 4F 8B INFO [EMailQueue.SchedulingThread] wt.system.out Administrator - DEBUG SMTP: AUTH NTLM failed INFO [EMailQueue.SchedulingThread] wt.system.out Administrator - EMailMessage message submission failed INFO [EMailQueue.SchedulingThread] wt.system.out Administrator - EMailMessage 535 5.7.3 Authentication unsuccessful INFO [EMailQueue.SchedulingThread] wt.system.out Administrator - INFO [EMailQueue.SchedulingThread] wt.system.out Administrator - EMailMessage subject: 审核INFO [EMailQueue.SchedulingThread] wt.system.out Administrator - EMailMessage not submitted to: <user email address> INFO [EMailQueue.SchedulingThread] wt.system.err Administrator - javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful
  • 方法服务器日志:
     INFO [ajp-nio-127.0.0.1-8010-exec-1] wt.system.out Administrator - DEBUG SMTP: Found extension "SIZE", arg "157286400" INFO [ajp-nio-127.0.0.1-8010-exec-1] wt.system.out Administrator - DEBUG SMTP: Found extension "PIPELINING", arg "" INFO [ajp-nio-127.0.0.1-8010-exec-1] wt.system.out Administrator - DEBUG SMTP: Found extension "DSN", arg "" INFO [ajp-nio-127.0.0.1-8010-exec-1] wt.system.out Administrator - DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg "" INFO [ajp-nio-127.0.0.1-8010-exec-1] wt.system.out Administrator - DEBUG SMTP: Found extension "AUTH", arg "LOGIN XOAUTH2" INFO [ajp-nio-127.0.0.1-8010-exec-1] wt.system.out Administrator - DEBUG SMTP: Found extension "8BITMIME", arg "" INFO [ajp-nio-127.0.0.1-8010-exec-1] wt.system.out Administrator - DEBUG SMTP: Found extension "BINARYMIME", arg "" INFO [ajp-nio-127.0.0.1-8010-exec-1] wt.system.out Administrator - DEBUG SMTP: Found extension "CHUNKING", arg "" INFO [ajp-nio-127.0.0.1-8010-exec-1] wt.system.out Administrator - DEBUG SMTP: Found extension "SMTPUTF8", arg "" INFO [ajp-nio-127.0.0.1-8010-exec-1] wt.system.out Administrator - DEBUG SMTP: protocolConnect login, host=smtp.office365.com, user=<user email address>, password=<non-null> INFO [ajp-nio-127.0.0.1-8010-exec-1] wt.system.out Administrator - DEBUG SMTP: Attempt to authenticate using mechanisms: LOGIN PLAIN DIGEST-MD5 NTLM XOAUTH2 INFO [ajp-nio-127.0.0.1-8010-exec-1] wt.system.out Administrator - DEBUG SMTP: Using mechanism LOGIN INFO [ajp-nio-127.0.0.1-8010-exec-1] wt.system.out Administrator - DEBUG SMTP: AUTH LOGIN command trace suppressed INFO [ajp-nio-127.0.0.1-8010-exec-1] wt.system.out Administrator - DEBUG SMTP: AUTH LOGIN failed
这是文章 288408 的 PDF 版本,可能已过期。最新版本 CS288408