Skip to content

Releases: bbottema/simple-java-mail

v7.0.1

22 Jan 09:58
Compare
Choose a tag to compare

#375 Bug: batch-module gives error when there is a custom mailer

v7.0.0

02 Jan 20:52
Compare
Choose a tag to compare

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:

  • #322 Simple Java Mail migrated to Java 8 finally (see notes below)
  • #295 And also switched to JavaMail's successor Jakarta Mail 2.0.1 (see notes below)
  • #323 Solved the great CLI performance problem (now executes near instantly)
  • #319 Replaced the underlying regex-based email-address validation library with the lexer based JMail, which is faster, correcter, documented better and is more up-to-date with RFC's
  • #367 The sendMail/testConnection methods now has proper support for CompletableFuture

Bugfixes:

  • #352 Bug: names regex groups are not supported in Android JVM
  • #326 Bug: NullPointer when parsing Outlook Message with nested empty Outlook message
  • #330 Bug: cli expected --mailer arguments duplicated 3 times
  • #324 Bug: Add back missing log4j2 for CLI library

Maintenance:

  • #368 Resolve log4j (Java8) vulnerability in Simple Java Mail's CLI module
  • #330 Improved feedback from failing CLI commands
  • #327 Implement toString() for Mailer instances for debugging purposes

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.5

02 Jan 20:46
Compare
Choose a tag to compare

#338 Enhancement: Also return AsyncResponse from plain Mailer.sendEmail(singleArgument) as async can be configured through MailerBuilder now

v6.7.4

25 Dec 22:46
Compare
Choose a tag to compare

#331 Enhancement: Coalesce empty SMTP server arguments to null to support CLI better

v6.7.3

25 Dec 21:59
Compare
Choose a tag to compare

#335 Bugfix: Precondition nonNull check also checks nonEmpty and breaks on clearEmailAddressCriteria

v6.7.2

25 Dec 21:08
Compare
Choose a tag to compare

#318 Maintenance: Allow zero data attachments so Outlook message conversions don't crash and burn

v6.7.1

25 Dec 17:19
Compare
Choose a tag to compare

#346 Bugfix: Add option to parse MimeMessage without fetching attachment data from server - Properly return named datasource without fetching all the data if unwanted

v6.7.0

25 Dec 12:47
Compare
Choose a tag to compare
  • #356 Enhancement: Improve for support for Android < 8.0 (Fix NoClassDefFoundError)
  • #351 Bugfix: emlToEmail() and mimeMessageToEmail() break on mesages with duplicate names and legacy empty nested messages
  • #347 Maintenance: Reduce log-spam and prevent exception on every module availability check
  • #346 Feature: Add option to parse MimeMessage without fetching attachment data from server

v6.6.2

23 Dec 15:52
Compare
Choose a tag to compare

#365 Resolve log4j vulnerability in Simple Java Mail's CLI module

v6.6.1

12 Jun 15:02
Compare
Choose a tag to compare
  • v6.6.1 (12-June-2021): #321 Ignore malformed recipient addresses and continue parsing email data