How to display the conversation between server and client with Jodd

56 Views Asked by At

In upgrading from an older version of Jodd I cannot identify how to display the conversation between the server and the client. In the past I wrote:

smtpServer.debug(true);
imapServer.setProperty("mail.debug", "true");

Now I tried to use:

smtpServer.debugMode(true);

but it had no effect.

I could not identify how to do this with imapServer.

I like to show the conversation to my students.

1

There are 1 best solutions below

0
igr On

Unfortunately, there was a bug in Jodd. The debug and timeout were not applied.

The bug was fixed in the latest commits, soon to be released.

At least, we introduced some improvements, so now on the debug & timeout methods would be applied for all servers, so you would not need to use different setting for the IMAP and SMTP server :)