Skip to content

v9.1.8

Choose a tag to compare

@bbottema bbottema released this 08 Aug 06:31
· 125 commits to master since this release

Simple Java Mail 9.1.8 is a patch release for proxy routing and connection-pool reset behavior.

  • MailerBuilder.usingSession(session).withProxy(...) now updates the supported mail.smtp.socks.* route while leaving the rest of the caller's Session configuration untouched (#686).
  • SOCKS proxying now works with SMTPS; implicit-TLS certificate and hostname verification remain unchanged (#687).
  • resetConnectionPoolMaxSize() now restores only the maximum pool size, without changing the configured core size (#696).
  • resetConnectionPoolClaimTimeoutMillis() now restores only the finite default claim timeout (approximately 24.9 days), without changing connection expiry (#697).

Applications that deliberately relied on the old accidental long-expiry behavior can express it directly with withConnectionPoolExpireAfterMillis(Integer.MAX_VALUE).