Article - CS407185
Emails are not sent from Windchill with the error "Couldn't connect to host, port - timeout 120000" when using SMTPS in Windchill PDMLink
Modified: 14-Dec-2023
Applies To
- Windchill PDMLink 12.1
Description
- Emails are not sent from Windchill with the error "Couldn't connect to host, port - timeout 120000" when using SMTPS
- Sending emails with telnet is working
- With debug logs from CS107976, the following information is shown in BackgroundMethodServer
INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG: Jakarta Mail version 1.6.7
INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG: Tables of loaded providers
INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle], com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle]}
INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG: Providers Listed By Protocol: {imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle], imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle]}
INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG: setDebug: Jakarta Mail version 1.6.7
INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle]
INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG SMTP: useEhlo true, useAuth true
INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG SMTP: trying to connect to host "<SMTP.PTC.COM>", port 465, isSSL true
This is a printer-friendly version of Article 407185 and may be out of date. For the latest version click CS407185