Simple Java Mail 9.2.0 adds refresh-aware OAuth2 credentials and includes security, compatibility, and correctness fixes.
- #692: added refresh-aware OAuth2 access-token providers for long-lived Mailers.
- #691: routed all asynchronous send failures through the returned
CompletableFuture. - #690: made serialized emails preserve send-ready content and fail clearly when pre-9.2 streams lack resource data.
- #689: moved governance opt-outs after email starters and removed the faulty pre-start methods.
- #685: corrected extra Jakarta Mail property precedence to system properties, environment variables, then property files.
- #684: corrected the S/MIME configuration example to use a valid message-content cipher.
- #683: moved CLI-only recipient parsing out of
EmailPopulatingBuilderwithout changing CLI behavior. - #680: made S/MIME signature status represent only verification that actually occurred and preserve failed combined results.
- #679: rejected DKIM configurations that exclude the mandatory
Fromheader. 55586ee6: added explicitfile:andbase64:DKIM private-key sources while preserving unprefixed values.- #678: contained embedded-image auto-resolution within configured file, classpath, and URL bases.
- #677: replaced trust-all TLS defaults with the JVM trust store while retaining hostname verification.
- #676: bound the authenticated SOCKS bridge to JVM loopback instead of wildcard interfaces.
See the 9.2 migration guide for changes requiring source or configuration updates.