Skip to main content
Version: 5.3.0.0

Mail Sender & Receiver

Logging in java.mail 1.4.4​

To obtain detailed information from the JavaMail library, follow these steps. This is particularly useful for diagnosing issues, such as when the new version is unable to locate an authentication mechanism.

  1. Set the following parameter in tomcat/designer:

    -Dmail.debug=true

  2. The library will now produce log output, which can be found in catalina.out or displayed on the console in the case of Designer.

The generated output will appear as follows:

DEBUG SMTP: Attempt to authenticate
DEBUG SMTP: check mechanisms: ...