dcsimg

Can I get a trace of the actual SMTP commands sent to the mail server?

John Zukowski

Yes. For your mail session, set the debug property to true: session.setDebug(true).