cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Debugging SMTP

Henrik_F
6-Contributor

Debugging SMTP

Hello

 Our company has switched to using a Microsoft cloudy SMTP server and I am having a hard time debugging it. I have enabled verbose debugging as per CS49374 but the output abruptly ends:

 

2022-11-02 00:04:33,923 INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG: Jakarta Mail version 1.6.5
2022-11-02 00:04:33,923 INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
2022-11-02 00:04:33,923 INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG: Tables of loaded providers
2022-11-02 00:04:33,923 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]}
2022-11-02 00:04:33,923 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]}
2022-11-02 00:04:33,923 INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
2022-11-02 00:04:33,923 INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG: setDebug: Jakarta Mail version 1.6.5
2022-11-02 00:04:33,923 INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle]
2022-11-02 00:04:33,923 INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG SMTP: useEhlo true, useAuth true
2022-11-02 00:04:33,923 INFO [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG SMTP: trying to connect to host "<ourserver>", port 25, isSSL true

 

Nothing after "Trying to connect". I've tried to access the SMTP server trough a terminal so I know that, atleast, that part is correct.

 

Does anyone of you know how to get more info on this problem?

 

Thanks

1 REPLY 1
rleir
17-Peridot
(To:Henrik_F)

Maybe you have a firewall problem. Use Wireshark to debug it, or look at firewall logs.

Top Tags