Skip to content

Releases: bbottema/simple-java-mail

v6.0.0

24 Jan 13:02
Compare
Choose a tag to compare

v6.0.0-rc1 - v6.0.0 (18-December-2019 - 24-January-2020)

After almost two years of development the next major release 6.0.0 is finally here! And what a doozy it is, with the following major new features:

The core library is now even smaller compared to the 5.x.x series going from 183kb to 134kb!

Here's the complete list of changes:

New features and enhancements

  • #183 To manage all the optional dependencies and related code, Simple Java Mail should be split up into modules
  • #156 Add CLI support
  • #214 Support more advanced batch processing use cases
  • #187 Simple Java Mail should have optional support for signed S/MIME attachments
  • #121 Introduce interfaces for validation and sending, so these steps can be customized
  • #144 Simple Java Mail should tailor the MimeMessage structure to specific needs
  • #138 Add support for Calendar events (iCalendar vEvent)
  • #235 Be able to fix the sent date for a new email
  • #232 Improve encoding of attachment file names
  • #222 Add config property support for trusting hosts and verifying server identity
  • #212 Authenticated proxy server started even if already running, raising exception
  • #207 Implement more comprehensive ThreadPoolExecutor and expose config options
  • #211 SpringSupport should expose the intermediate builder for customization
  • #193 Simple Java Mail should use default server ports when not provided by the user

Bugs solved

  • #242 Renamed log4j2.xml to log4j2_example.xml so it doesn't clash with project config
  • #241 EmailConverter.outlookMsgToEmail duplicates recipients
  • #239 List of Recipients not ordered as added (insertion order not maintained)
  • #236 Message ID should be mapped from Outlook messages as well
  • #210 Connection/session timeout properties not set when not sending in batch mode
  • #201 When parsing Outlook message, FROM address should default to a dummy address when missing
  • #200 When parsing Outlook message, attachment name doesn't fallback on filename if proper name is empty
  • #161 When reading (chinese) .msg files, HTML converted from RTF is completely garbled (encoding issue)
  • #159 Can not parse email with blank email address headers
  • #139 Multiple Bodyparts of same Content-Type not supported for text/html & text/plain within Multipart/mixed or Multipart/alternative
  • #151 Attachment's file extension overwritten by resource's invalid extension

Maintenance updates

  • #165 Move away from Findbugs (unofficial JSR-305) annotations
  • #164 The DKIM dependency has been updated to benefit from the newer Apache V2 license
  • #164 The DKIM dependency has been updated to benefit from the newer Apache V2 license
  • #184 Update JavaMail dependency to 1.6.2, adding support for UTF-8 charset
  • #186 Update JavaMail dependency to 1.6.2, adding support for authenticated HTTP web proxy
  • #146 Added OSGI manifest and switched to spotbugs

Included changes from outlook-message-parser

  • v1.7.1: #25 NPE on ClientSubmitTime when original message has not been sent yet
  • v1.7.1: #23 Bug: _nameid directory should not be parsed (and causing invalid HTML body)
  • v1.7.0: #18 Upgrade Apache POI 3.9 -> 4.x (but managed back for Simple Java Mail due to incompatibility with Java 7)
  • v1.6.0: #21 Multiple TO recipients are not handles properly
  • v1.5.0: #20 CC and BCC recipients are not parsed properly
  • v1.5.0: #19 Use real Outlook ContentId Attribute to resolve CID Attachments
  • v1.4.1: #17 Fixed encoding error for UTF-8's Windows legacy name (cp)65001
  • v1.4.0: #9 Replaced the RFC to HTML converter with a brand new RFC-compliant convert! (thanks to @fadeyev!)
  • v1.3.0: #14 Dependency problem with Java9+, missing Jakarta Activation Framework
  • v1.3.0: #13 HTML start tags with extra space not handled correctly
  • v1.3.0: #11 SimpleRTF2HTMLConverter inserts too many
    tags
  • v1.3.0: #10 Embedded images with DOS-like names are classified as attachments
  • v1.3.0: #9 SimpleRTF2HTMLConverter removes some valid tags during conversion
  • v1.2.1: Ignore non S/MIME related content types when extracting S/MIME metadata
  • v1.2.1: Added toString and equals methods to the S/MIME data classes
  • v1.1.21: Upgraded mediatype recognition based on file extension for incomplete attachments
  • v1.1.21: Added / improved support for public S/MIME meta data
  • v1.1.20: #7 Fix missing S/MIME header details that are needed to determine the type of S/MIME application
  • v1.1.19: Log rtf compression error, but otherwise ignore it and keep going and extract what we can.

A big shout out to @dnault (runtime javadoc), @remkop (picocli) and @markenwerk
(S/MIME and DKIM) for working with me to make the
libraries work with JDK7+ and do what Simple Java Mail needed! Finally a great many thanks the numerous contributors on Simple Java Mail as well as
outlook-message-parser - this release would not be there without you.

v6.0.0-rc4 (deprecated)

09 Jan 20:39
Compare
Choose a tag to compare

Please refer to v6.0.0 instead (but also see Milestone 6.0.0-rc4).

v6.0.0-rc3 (deprecated)

08 Jan 21:32
Compare
Choose a tag to compare

Please refer to v6.0.0 instead (but also see Milestone 6.0.0-rc3).

v6.0.0-rc2 (deprecated)

19 Dec 18:50
Compare
Choose a tag to compare

Please refer to v6.0.0 instead (but also see Milestone 6.0.0-rc2).

v6.0.0-rc1 (deprecated)

18 Dec 21:39
Compare
Choose a tag to compare

Please refer to v6.0.0 instead (but also see Milestone 6.0.0-rc1).

v5.5.1

20 Oct 13:17
Compare
Choose a tag to compare

#230 Bugfix: Missing address value in address headers (ie. Return-Path) not handled properly, resulting in Exception

v5.5.0

15 Oct 13:22
Compare
Choose a tag to compare

v5.5.0 (15-October-2019)

  • #229 Bugfix: Timeouts not working for synchronous sendMail calls.

If you had connection properties configured for non-async send jobs, only now they will actually start to take effect.

v5.4.0

28 Sep 11:49
Compare
Choose a tag to compare
  • #221 API bugfix: server identity verification should not be tied to host trusting
  • #226 Bug fix: Attachments with spaces in name are not handled properly
  • #218 Enhancement: make Email serializable
  • #227 Enhancement: Make parsing recipients from EML file more lenient
  • #225 Enhancement: Clarify dependency on Jakarta Activation: DataSources no longer work on Java 9+

5.3.0 DKIM Bugfix

16 Aug 14:11
Compare
Choose a tag to compare
  • #215 Bug: Current DKIM header canonicalization can lead to invalid DKIM

Note this release should have no impact, but nonetheless is a minor update so you can determine for yourself if this update would cause issues.
The release changes DKIM header canonicalization from SIMPLE to RELAXED.

5.2.1 bugfix

16 Aug 13:55
Compare
Choose a tag to compare

#219 Bug: MimeMessageParser rejects attachments with duplicate names