v9.1.8
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 supportedmail.smtp.socks.*route while leaving the rest of the caller'sSessionconfiguration 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).