Update dependency org.simplejavamail:simple-java-mail to v9.2.0 - #82
Open
xdev-renovate wants to merge 1 commit into
Open
Update dependency org.simplejavamail:simple-java-mail to v9.2.0#82xdev-renovate wants to merge 1 commit into
xdev-renovate wants to merge 1 commit into
Conversation
xdev-renovate
force-pushed
the
renovate/org.simplejavamail-simple-java-mail-9.x
branch
from
August 9, 2026 03:30
b7ff30a to
42ed18d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
9.1.5→9.2.0Release Notes
bbottema/simple-java-mail (org.simplejavamail:simple-java-mail)
v9.2.0Compare Source
CompletableFuture.EmailPopulatingBuilderwithout changing CLI behavior.Fromheader.55586ee6: added explicitfile:andbase64:DKIM private-key sources while preserving unprefixed values.See the 9.2 migration guide for changes requiring source or configuration updates.
v9.1.0 - v9.1.8 - Maven Central
usingSession(session).withProxy(...)now updates the intendedmail.smtp.socks.*route while leaving the rest of the caller's session configuration untouched.--email:to,--email:cc, and--email:bccoptions so one command can combine all three recipient types.application.propertiesinspring-module. Sample local-bind, SMTP client-hostname, transfer-encoding, and other test values can no longer override an application's YAML configuration or break SMTP connections.File-based EML conversion overloads after synchronous parsing, while leaving caller-providedInputStreamownership unchanged.outlook-message-parserto 1.16.2 so native-HTML-only.msgfiles match inlinecid:images correctly and trailing NUL terminators no longer leak into attachment metadata.EHLO/HELOcommand.sendMail(...)behavior is unchanged.v9.0.0 - v9.0.4 - Maven Central
The Short Version
Simple Java Mail has been going strong-ish for about 20 years, and 9.0.0 rolls roughly two years of backlog into a new major release.
Across Simple Java Mail and the supporting libraries that keep the stack moving, more than 100 GitHub issues and PRs were reviewed, fixed, merged, or closed while keeping the project Java 8-compatible.
Major features: the dedicated recipient builder API, per-recipient S/MIME certificates, first-class Delivery Status Notification support, pre-encoded attachment and embedded-image sending, mailer-level DKIM defaults, and simple batch/open-connection sending without the batch module.
Enhancements: broader Outlook conversion metadata, MIME resource handling, content-transfer encoding control, debug routing, local SMTP bind configuration, batch cluster configuration, and Java module support.
Migration Note
This is a breaking major release. The old recipient-addition method jungle has been cleaned up in favor of the recipient builder API, so code that relied on the removed recipient overloads needs to migrate. Start with the 9.0 migration notes before upgrading.
Major Features
Mailer.sendMailsInSimpleBatch(...)for sequential batch work without the batch module andwithOpenConnection(...)for callback-scoped reuse of a single SMTP connection.Enhancements
PR_LAST_MODIFIER_NAME/0x3FFAasOutlookMessageData#getLastModifierName()without treating it as sender identity..msgheaders and metadata without copying structural headers into converted emails, resolving #609.Content-Transfer-Encodingconfiguration for plain text, HTML, and calendar content.Content-IDhandling: improved explicit IDs, parsed embedded images, and generated fallback IDs.filenameparameter from resourceContent-Typeheaders; filenames remain available throughContent-Disposition.org.simplejavamaildirectly.Fixes and Compatibility
<pre>styling in converted HTML.MailerGenericBuilder.async()so no-argtestConnection()uses the configured async default.CompletableFuturewithout duplicate framework error logs.send,connect, andvalidatenow wait for command work and close mailer resources, preventing batch-module resources from keeping the process alive.Dependency and Supporting-Library Updates
log4j-slf4j2-implfor SLF4J 2.x.Supporting Libraries
outlook-message-parser1.16.1 /rtf-to-html2.0.2: fixed browser-default<pre>styling in Outlook plain-text RTF conversion (#651).outlook-message-parser1.16.0: added source last-modifier metadata used byOutlookMessageData#getLastModifierName().utils-mail-dkim3.3.0: added configurable DNS provider URL support for DKIM domain-key TXT lookups, fixed the published automatic module name, and kept packaged artifacts free of JaCoCo probes.clustered-object-pool4.0.1 (#6): added cluster-specific Java configuration for pool defaults, claim timeout, and load balancing.smtp-connection-pool3.0.1 (#8): pulled inclustered-object-pool4.0.1 so the batch-module fix for #565 can keep connection-pool defaults per cluster key.smtp-connection-pool3.0.0: made clustered SMTP pools generic over their cluster-key type and kept already-unusable connections from surfacing as generic pool error logs during transport close.java-socks-proxy-server4.2.0: updated SOCKS live tests to use dynamic proxy ports instead of fixed ports.outlook-message-parser1.15.0: improved Outlook.msgconversion by preserving nested message attachment metadata, fixing sent-date extraction (#534), fixing recipient bucket parsing (#504), broadening S/MIME detection, improving RTF-only body conversion (#576), and updating Apache POI.Build and Test Maintenance
v8.12.0 - v8.12.6
v8.11.0 - v8.11.3
NOTE: v8.11.0 contains many (minor) dependency updates to resolve CVE issues, including:
v8.10.0 - v8.10.1
Session.getDefaultInstanceanymore and fix bug whereemlToEmailBuilderusedemlToMimeMessagev8.9.0 (26-April-2024)
v8.8.0 - v8.8.4
NOTE: release 8.8.0 changes the default for DKIM signing from 'l-param' true to false. If you rely on this feature, you need to enable it explicitly. Refer to the DKIM documentation for the update.
v8.7.0 - v8.7.1
NOTE: this breaks the API for S/MIME related builder methods. Refer to the S/MIME documentation for the new API.
v8.6.0 - v8.6.3
NOTE: this release switches to Angus Mail which should be a transparent change, but if you encounter any issues, please report them.
One known issue is that Angus, since 1.1.0, performs server identity checks by default, which was previously disabled for SMTP. If you encounter issues with this, you can disable it with
mailerBuilder.verifyingServerIdentity(false)and starting from 8.8.2, this also works with SMTP transport strategy (see #495).v8.5.0 - v8.5.1
v8.4.0 (12-December-2023)
v8.3.0 - v8.3.5
v8.2.0 (02-October-2023)
v8.1.0 - v8.1.3
v8.0.0 - v8.0.1
This release changes how Email instances are built, or more specifically, when defaults and overrides are applied.
There are now overloaded build methods that provide similar behaviour as previous versions.
v7.9.0 - v7.9.1
v7.8.0 - v7.8.3
v7.7.0 - v7.7.1
7.7.0 moves the conversion of Email to MimeMessage to after a Transport instance has been selected (in case of a cluster of SMTP servers),
so we can apply defaults/overrides on the Mailer level, meaning you can configure 'global' values for individual SMTP servers
(like a fixed FROM per server).
v7.6.0 (05-January-2023)
v7.5.0 - v7.5.2
v7.5.1 (12-December-2022)
v7.5.0 (28-July-2022)
v7.4.0 (19-July-2022)
v7.3.0 (15-July-2022)
v7.2.0 - v7.2.1
v7.1.0 - v7.1.3
v7.0.1 - v7.0.2
v7.0.0 (2-January-2022)
It has been two years since the last major release, but 7.0.0 finally here!
What's new
Major features:
CompletableFutureBugfixes:
Maintenance:
About the migration
Updating to Java8/Jakarta 2.0.1 posed a challenge as the 3rd party S/MIME library java-utils-mail-smime has been abandoned/archived while developing Simple Java Mail. Furthermore, it was still under LGPL3 license while everything else is ApacheV2.
Thankfully, I obtained permissions from the maintainers -as well as original developers from decades ago on SourceForge- to take both java-utils-mail-smime and java-utils-mail-dkim under my wings at Simple Java Mail and change the licensing model! You can now post issues and pull requests here:
v6.7.0 - v6.7.6
v6.6.0 - v6.6.2
v6.5.0 - v6.5.4
v6.5.4 (22-May-2021): #315 Enhancement: Nested attachments of Outlook message attachments are now preserved as standard EML MimeMessage attachments
NOTE: This removes the Kryo dependency
v6.5.3 (4-May-2021): #314 Bugfix: Nested attachments of Outlook message attachments are now preserved, by utilizing Kryo
NOTE: This add Kryo as extra dependency to the outlook-module (and is subsequently removed in 6.5.4)
v6.5.2 (15-April-2021): #311 Bugfix: text/calendar as string -> ClassCastException (if calendar type is not Inputstream)
v6.5.1 (10-April-2021): #307 / #310 Bugfix: embedded image resource name got mangled
v6.5.0 (16-February-2021): #298 Enhancement: Nested Outlook messages aren't discarded anymore, but parsed to serialized Email objects
v6.5.0 (16-February-2021): #292 Bugfix: NullPointerException in SmimeUtilFixed when protocol is missing (which is valid)
v6.5.0 (16-February-2021): #289 Bugfix: Support multiple headers with same key
This release breaks all GET/SET api regarding headers used as map (Map<String, T> -> Map<String, Collection<T>>)
This release might break api in the rare case you relied on the attachment list and you have nested Outlook .msg attachments (previously omitted in the results)
v6.4.0 - v6.4.5
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.