Releases: bbottema/simple-java-mail
Release list
v9.1.7
Simple Java Mail 9.1.7 fixes recipient selection in the standalone CLI.
- Restores independent
--email:to,--email:cc, and--email:bccoptions, allowing one command to combine all three recipient types. - Retains
--email:withRecipientsfor compatible single-recipient-type commands. - Leaves the public Java builder API unchanged.
Versions 9.0.0 through 9.1.6 cannot combine TO, CC, and BCC this way because repeated --email:withRecipients options are merged into one invalid invocation. CLI users who need multiple recipient types should upgrade to 9.1.7 or later.
See #682.
v9.1.6
CLI recipient notice: Versions 9.0.0 through 9.1.6 cannot combine TO, CC, and BCC recipients in one CLI command. Repeated
--email:withRecipientsoptions are merged and rejected. Follow #682 for the 9.1.7 correction.
Simple Java Mail 9.1.6 is a patch release for applications using the Spring module.
spring-moduleno longer packages its testapplication.properties. In versions 9.0.0 through 9.1.5, those sample values could override an application's YAML settings; the local-bind test value192.0.2.30:25259could then prevent SMTP connections.- A packaging guard now prevents root
application.*andbootstrap.*configuration files from entering the production artifact.
No public API changed, and Java 8 compatibility is retained. If you use spring-module 9.0.0 through 9.1.5, upgrade to 9.1.6 or later. After upgrading, the withLocalBindAddress("0.0.0.0", 0) workaround is no longer needed.
See #681.
v9.1.5
Spring-module notice: Versions 9.0.0 through 9.1.5 package test application settings that can override an application's YAML configuration and prevent SMTP connections. If you use
spring-module, upgrade to 9.1.6 or later.
CLI recipient notice: Versions 9.0.0 through 9.1.6 cannot combine TO, CC, and BCC recipients in one CLI command. Repeated
--email:withRecipientsoptions are merged and rejected. Follow #682 for the 9.1.7 correction.
Simple Java Mail 9.1.5 is a patch release fixing SOCKS5 domain framing in authenticated SOCKS support.
- Domain connect requests now place the two-byte port after the UTF-8-encoded hostname bytes, fixing malformed requests for internationalized and other non-ASCII hostnames (#674).
- Domain-form SOCKS5 replies now decode the hostname after its length octet and read the port after the complete hostname, restoring accurate host and port diagnostics (#675).
Compatibility: this release has no public API changes and retains Java 8 compatibility.
v9.1.4
Spring-module notice: Versions 9.0.0 through 9.1.5 package test application settings that can override an application's YAML configuration and prevent SMTP connections. If you use
spring-module, upgrade to 9.1.6 or later.
CLI recipient notice: Versions 9.0.0 through 9.1.6 cannot combine TO, CC, and BCC recipients in one CLI command. Repeated
--email:withRecipientsoptions are merged and rejected. Follow #682 for the 9.1.7 correction.
Simple Java Mail 9.1.4 fixes file-stream ownership in EML conversion and includes Java 8-compatible dependency and release-tool updates.
Fixes
EmailConverter.emlToEmailBuilder(File, ...)andEmailConverter.emlToMimeMessage(File, ...)now deterministically close theFileInputStreams they create after synchronous conversion.- The caller-ownership contract is unchanged: overloads that accept an
InputStreamcontinue to leave caller-provided streams open.
Maintenance
- Updated SpotBugs annotations to 4.10.3.
- Updated the Central Publishing Maven Plugin to 0.11.0.
- Updated Objenesis to 3.6.
There are no public API changes. Java 8 remains the minimum supported runtime.
Tracked in #669, #670, #671, #672, and #673. Artifacts are available from Maven Central.
v9.1.3
Spring-module notice: Versions 9.0.0 through 9.1.5 package test application settings that can override an application's YAML configuration and prevent SMTP connections. If you use
spring-module, upgrade to 9.1.6 or later.
CLI recipient notice: Versions 9.0.0 through 9.1.6 cannot combine TO, CC, and BCC recipients in one CLI command. Repeated
--email:withRecipientsoptions are merged and rejected. Follow #682 for the 9.1.7 correction.
Simple Java Mail 9.1.3 fixes Outlook inline-image handling for native-HTML-only .msg files by updating outlook-message-parser to 1.16.2. Inline cid: images are now matched correctly, and trailing NUL terminators no longer leak into attachment metadata.
See issue #668, the upstream fix, and the 9.1.0–9.1.3 release notes.
Java 8 remains the minimum supported runtime.
v9.1.2
Spring-module notice: Versions 9.0.0 through 9.1.5 package test application settings that can override an application's YAML configuration and prevent SMTP connections. If you use
spring-module, upgrade to 9.1.6 or later.
CLI recipient notice: Versions 9.0.0 through 9.1.6 cannot combine TO, CC, and BCC recipients in one CLI command. Repeated
--email:withRecipientsoptions are merged and rejected. Follow #682 for the 9.1.7 correction.
Simple Java Mail 9.1.2 is a dependency-maintenance release that retains Java 8 compatibility.
Changes
- Updated JMail from 2.1.0 to 2.2.0. The new dependency release adds optional internationalized-domain normalization support.
- Updated Zip4j from 2.11.5 to 2.11.6.
- Updated Exec Maven Plugin from 3.5.0 to 3.6.3.
- Updated Maven Enforcer Plugin from 3.5.0 to 3.6.3.
- Updated Maven JAR Plugin from 3.5.0 to 3.5.1.
This patch contains no Simple Java Mail API changes or intended runtime-behavior changes. Java 8 remains the minimum supported runtime.
The maintenance pull requests are #663, #664, #665, #666, and #667.
v9.1.1
Spring-module notice: Versions 9.0.0 through 9.1.5 package test application settings that can override an application's YAML configuration and prevent SMTP connections. If you use
spring-module, upgrade to 9.1.6 or later.
CLI recipient notice: Versions 9.0.0 through 9.1.6 cannot combine TO, CC, and BCC recipients in one CLI command. Repeated
--email:withRecipientsoptions are merged and rejected. Follow #682 for the 9.1.7 correction.
Simple Java Mail 9.1.1 updates dependencies and build tooling while preserving Java 8 compatibility.
- Updated JetBrains annotations from 16.0.3 to 26.1.0.
- Updated Maven Compiler Plugin from 3.14.1 to 3.15.0.
- Updated Maven JAR Plugin from 3.1.0 to 3.5.0.
- Updated Apache Felix Maven Bundle Plugin from 3.5.1 to 5.1.9, the latest Java 8-compatible release line; version 6 requires Java 17.
- Updated Apache Karaf Maven Plugin from 4.4.3 to 4.4.7, the latest Java 8-compatible release; versions 4.4.8 and newer require Java 11.
- Made optional OSGi imports explicit for classes reached reflectively at runtime.
- Added Dependabot guards against newer plugin releases that require a newer Java runtime.
This patch contains no application API changes or intended runtime-behavior changes.
Artifacts are available from Maven Central. The maintenance changes were tracked in #662.
v9.1.0
Spring-module notice: Versions 9.0.0 through 9.1.5 package test application settings that can override an application's YAML configuration and prevent SMTP connections. If you use
spring-module, upgrade to 9.1.6 or later.
CLI recipient notice: Versions 9.0.0 through 9.1.6 cannot combine TO, CC, and BCC recipients in one CLI command. Repeated
--email:withRecipientsoptions are merged and rejected. Follow #682 for the 9.1.7 correction.
Simple Java Mail 9.1.0 adds SMTP protocol controls and submission observability without changing existing send behavior.
- #653: added a configurable SMTP client hostname for the
EHLO/HELOcommand. - #654: added SMTP submission receipts for reading the server acceptance response after a send.
This release contains no breaking changes; existing sendMail(...) behavior is unchanged.
v9.0.4
Spring-module notice: Versions 9.0.0 through 9.1.5 package test application settings that can override an application's YAML configuration and prevent SMTP connections. If you use
spring-module, upgrade to 9.1.6 or later.
CLI recipient notice: Versions 9.0.0 through 9.1.6 cannot combine TO, CC, and BCC recipients in one CLI command. Repeated
--email:withRecipientsoptions are merged and rejected. Follow #682 for the 9.1.7 correction.
Simple Java Mail 9.0.4 tightens email-address validation.
- #652: reject RFC 2047 encoded-word syntax inside address specifications while continuing to support encoded display names.
This patch contains no breaking API changes.
v9.0.3
Spring-module notice: Versions 9.0.0 through 9.1.5 package test application settings that can override an application's YAML configuration and prevent SMTP connections. If you use
spring-module, upgrade to 9.1.6 or later.
CLI recipient notice: Versions 9.0.0 through 9.1.6 cannot combine TO, CC, and BCC recipients in one CLI command. Repeated
--email:withRecipientsoptions are merged and rejected. Follow #682 for the 9.1.7 correction.
Simple Java Mail 9.0.3 fixes Outlook plain-text RTF rendering and advances Java 8-compatible dependencies.
- #651: preserved line breaks in Outlook plain-text RTF conversion without exposing browser-default
<pre>styling in the generated HTML. - Updated
outlook-message-parserto 1.16.1 andrtf-to-htmlto 2.0.2. - Updated Log4j to 2.26.1, Angus Mail to 2.0.5, and Angus Activation to 2.0.3.
- Updated Maven Source Plugin to 3.4.0, NotNull Instrumenter Maven Plugin to 1.1.1, and Mycila License Maven Plugin to 4.6.
This patch contains no breaking API changes and retains Java 8 compatibility.