Set the debug setting for this Session. Since the debug setting can be turned on only after the Session has been created, to turn on debugging in the Session constructor, set the property mail.debug in the Properties object passed in to the constructor to true. The value of the <co
(boolean debug)
| 411 | * @param debug Debug setting |
| 412 | */ |
| 413 | public synchronized void setDebug(boolean debug) { |
| 414 | this.debug = debug; |
| 415 | initLogger(); |
| 416 | logger.log(Level.CONFIG, "setDebug: Jakarta Mail version {0}", |
| 417 | Version.version); |
| 418 | } |
| 419 | |
| 420 | /** |
| 421 | * Get the debug setting for this Session. |
no test coverage detected