I _think_ there's a method to tell the debug to write to an alternative PrintStream instead of Stdout? You might be able to capture that?
Joined: Feb 18, 2005
That's the problem. JavaMail seems to be structured very simplistic in terms of debugging. I couldn't find a way to send the debug informations to a file because it gets written directly to the console there seems to be no method to alter this behavior.
subject: Pipe JavaMail Debug information to Log4J?