Skip to content

Releases: bbottema/simple-java-mail

v5.0.0

08 Feb 14:26
Compare
Choose a tag to compare

Also see the migration notes

New features

  • #116 You can now test the connection to the SMTP server
  • #115 Create mailers with a very robust MailerBuilder API, able to ignore defaults as well
  • #114 Create emails with a very robust EmailBuilder API, able to ignore defaults as well. Now includes support for InternetAddress. Also copy emails.
  • #107 You can now easily forward or reply to emails!

Security updates

  • #111 Protocol properties for SMTPS are now applied properly
  • #105 SMTP tries to upgrade to TLS while SMTP_TLS now enforces it and for both SMTP_TLS and SMTPS, mail.smtp.ssl.checkserveridentity is set to true

Maintenance updates

Complete Javadoc overhaul. Navigating the Javadoc should be much more consistent now (builder API being the single public source of truth).

  • #122 The email-rfc2822-validator library has been made a proper Maven dependency (not packaged along anymore)
  • #120 The DKIM library has been made an optional proper Maven dependency (not packaged along anymore)
  • #119 Switched optional Spring dependency version to property and now testing with 4.3.11.RELEASE
  • #113 Updated the underlying JavaMail to 1.6.0

Bugfixes

  • #110 Trusted hosts should be space-delimited
  • #109 Email headers should be allowed to be empty (now conversion errors can occur as well)
  • #103 Converting to MimeMessage results in an invalid Content-Disposition for attachments

v4.4.5 - API backwards compatibility update

02 Sep 19:21
Compare
Choose a tag to compare

v4.4.5 (2-September-2017)

  • #101 API backwards compatibility update, reinstate old addRecipient API as deprecated
    (sorry for removing it abruptly)

v4.4.4 - API usability release

23 Aug 15:56
Compare
Choose a tag to compare

v4.4.4 (23-August-2017)

API usability release. This relase streamlined the recipient setters, breaking backwards compatibility (but straightforward to fix)

  • #95 Feature: Add support native API for setting Return-Receipt-To header
  • #93 Feature: Add support native API for setting Disposition-Notification-To header
  • #91 Feature: Add support for parsing preformatted email addresses that include both
    name and address
  • #94 Bugfix: A single EmailBuilder would build emails that all share the same collections
    for recipients, attachments and embedded images
  • #98 Bugfix: Subject and body content should be optional

v4.3.0 - Security and Timeouts release

12 Aug 12:42
Compare
Choose a tag to compare

Security and timeout release.

This version safeguards against SMTP injection attack from external values entering the library through Email instance. Also, this release
introduces default/configurable timeouts for connecting, reading and writing when sending an email.

  • #89 Support multiple delimited recipient addresses sharing the same TO/CC/BCC name
  • #88 Safeguard subject property (and others) against SMTP CRLF injection attacks
  • #85 Apply configurable timeouts when sending emails
  • #83 Parse INLINE attachments without ID as regular attachments when converting (mostly
    applicable to Apple emails)

v4.2.1 Logging-only mode and Email conversions including Outlook .msg

12 Mar 18:45
Compare
Choose a tag to compare

4.2.0 patched to 4.2.1: streamlined convenience methods for adding recipients.

Major feature: Using the EmailConverter you can now convert between Outlook .msg, EML, MimeMessage and Email!

  • #66: Feature: convert email to EML
  • #65: Feature: read outlook messages from .msg file
  • #64: Feature: Added support for logging-only mode that skips the actual sending of emails
  • #69: Enhancement: Expanded EmailBuilder API to inlude more options for setting (multiple) recipients
  • #70: Enhancement: Most public API now have defensive null-checks for required fields (Fail Fast support)
  • #68: Bugfix: Name should be required for embedded images (added safeguards)
  • #67: Bugfix: Error when name was omitted for attachment
  • minor: added methods on AttachmentResource that reads back the content as (encoded) String
  • other: internal testing is now done using Wiser SMTP test server for testing live sending emails

v4.2.0 Logging-only mode and Email conversions including Outlook .msg

12 Mar 11:11
Compare
Choose a tag to compare

Major feature: Using the EmailConverter you can now convert between Outlook .msg, EML, MimeMessage and Email!

  • #66: Feature: convert email to EML
  • #65: Feature: read outlook messages from .msg file
  • #64: Feature: Added support for logging-only mode that skips the actual sending of emails
  • #69: Enhancement: Expanded EmailBuilder API to inlude more options for setting (multiple) recipients
  • #70: Enhancement: Most public API now have defensive null-checks for required fields (Fail Fast support)
  • #68: Bugfix: Name should be required for embedded images (added safeguards)
  • #67: Bugfix: Error when name was omitted for attachment
  • minor: added methods on AttachmentResource that reads back the content as (encoded) String
  • other: internal testing is now done using Wiser SMTP test server for testing live sending emails

v4.1.3 Spring support

04 Feb 15:22
Compare
Choose a tag to compare

Spring support and some small bugs

v4.1.1

30 Jul 18:31
Compare
Choose a tag to compare

Big fix for #50

4.1.0 Programmatic support for trusting SSL connections

22 Jul 18:41
Compare
Choose a tag to compare

#48: Added programmatic support trusting hosts for SSL connections
#47: Honor given names, deduce extension from datasource name, and more robust support for parsing mimemessages

4.0.0 Proxy support, config files and multithreading

05 Jul 18:38
Compare
Choose a tag to compare

#41: added support for fast parallel batch processing
#42: added support for config files
#43: removed logging implementation dependencies from distribution and documented various sample configs
#39: simplified and renamed packages to reflect the domain name of the new website: simplejavamail.org
#38: added support for anonymous proxy
#38: added support for authenticated proxy