Simple Java Mail v6.0.0 Release Notes

Release Date: 2020-01-24 // over 4 years ago
  • 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
    • 0๏ธโƒฃ #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
    • 0๏ธโƒฃ #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.