Article - CS288408

Email notification fails with error "Could not connect to SMTP host" when Office 365 is configured in Windchill PDMLink

Modified: 27-Feb-2026   


Applies To

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

Description

  • How to configure Windchill to integrate with mail which works with SMTPS?
  • Configure Windchill mail integration referring CS46949, but it doesn't work.
  • After changing the email server to Office 365 emails from Windchill are not being generated.
  • Error in MethodServer log:
    [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; 
  • Email fails when Office 365 is configured with SSL.
  • Failed to send Email by Quick Links > Email Page when using Office 365 SMTP server
  • Method Server logs:
    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
  • Method Server logs: 
    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-
This is a printer-friendly version of Article 288408 and may be out of date. For the latest version click CS288408