Releases: bbottema/simple-java-mail
v6.0.2
v6.0.1
v6.0.0
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!
- CLI support!!,
- major performance improvement with advanced batch processing including support for mail server clusters.
- You can now replace the final sending of emails with your own logic, using a 3rd party service of your choice.
- 6.0.0 also includes support for S/MIME signed and encrypted emails!
- All 3rd party dependencies have been made optional by splitting up Simple Java Mail into easy to use modules.
- You can now monitor and handle async processing using Futures.
- MimeMessage results are now structurally matched to specific needs (only using alternative/mixed etc. when needed)
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)
Please refer to v6.0.0 instead (but also see Milestone 6.0.0-rc4).
v6.0.0-rc3 (deprecated)
Please refer to v6.0.0 instead (but also see Milestone 6.0.0-rc3).
v6.0.0-rc2 (deprecated)
Please refer to v6.0.0 instead (but also see Milestone 6.0.0-rc2).
v6.0.0-rc1 (deprecated)
Please refer to v6.0.0 instead (but also see Milestone 6.0.0-rc1).
v5.5.1
v5.5.0
v5.4.0
- #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+