Professional Documents
Culture Documents
downloads.apache.org_commons_email_RELEASE-NOTES
downloads.apache.org_commons_email_RELEASE-NOTES
downloads.apache.org_commons_email_RELEASE-NOTES
Snapshot-Content-Location: https://downloads.apache.org/commons/email/RELEASE-
NOTES.txt
Subject:
Date: Sun, 7 Jul 2024 23:04:16 -0700
MIME-Version: 1.0
Content-Type: multipart/related;
type="text/html";
boundary="----MultipartBoundary--
0F1tSiyH9LWYD4Gff6UenladmjMR0VkjoT0mEFqfOj----"
------MultipartBoundary--0F1tSiyH9LWYD4Gff6UenladmjMR0VkjoT0mEFqfOj----
Content-Type: text/html
Content-ID: <frame-F1872A7AA3CCDF6D68ACCC92C9790DC4@mhtml.blink>
Content-Transfer-Encoding: binary
Content-Location: https://downloads.apache.org/commons/email/RELEASE-NOTES.txt
The Apache Commons Email Parent POM team is pleased to announce the release of
Apache Commons Email Parent POM 2.0.0-M1.
Apache Commons Email provides an API for sending email, simplifying the JavaMail
API.
For complete information on Apache Commons Email Parent POM, including instructions
on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Commons Email Parent POM
website:
https://commons.apache.org/proper/commons-email/
New features
------------
Fixed Bugs
----------
Changes
-------
Enjoy!
- The Apache Commons Team
-----------------------------------------------------------------------------
Apache Commons Email Parent POM 2.0.0-M1-SNAPSHOT
RELEASE NOTES
The Apache Commons Email Parent POM team is pleased to announce the release of
Apache Commons Email Parent POM 2.0.0-M1-SNAPSHOT.
Apache Commons Email provides an API for sending email, simplifying the JavaMail
API.
For complete information on Apache Commons Email Parent POM, including instructions
on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Commons Email Parent POM
website:
https://commons.apache.org/proper/commons-email/
New features
------------
Fixed Bugs
----------
Changes
-------
Enjoy!
-Apache Commons Net team
------------------------------------------------------------------------
The Apache Commons Email team is pleased to announce the release of Apache Commons
Email 1.6.0.
Apache Commons Email provides an API for sending email, simplifying the JavaMail
API.
https://commons.apache.org/proper/commons-email/
New features
------------
o EMAIL-190: Fix broken JDK 9 build by updating "easymock" and other dependencies.
Thanks to sgoeschl.
* Use JUnit 5 APIs #106, #108, #109, #114. Thanks to John Patrick, Gary Gregory.
* [StepSecurity] ci: Harden GitHub Actions #149. Thanks to step-security-bot, Gary
Gregory.
* Better use of JUnit APIs #158. Thanks to Lee Jaeheon, sebbASF.
o EMAIL-205: Update conversion code #153. Thanks to Dimitrios Efthymiou, Alex
Herbert.
* Email.setBounceAddress no longer accepts invalid email addresses. Thanks to
Alexander Lehmann.
* Throw more specific exceptions in MimeMessageParser #11. Thanks to Amir Behnam,
Michael Osipov.
* Email.setMailSession(Session) throws the more precise exception
NullPointerException. Thanks to Gary Gregory.
* Avoid possible NullPointerException in
DataSourceClassPathResolver.resolve(String, boolean). Thanks to Gary Gregory.
* Complete half-baked test DataSourceUrlResolverTest.testResolvingHttpNonLenient().
Thanks to Gary Gregory.
o EMAIL-206: Use SharedByteArrayInputStream for memory usage #157. Thanks to Lee
Jaeheon, Gary Gregory.
* Migrate to JUnit 5 #186. Thanks to Loki-Afro, Gary Gregory.
o EMAIL-174: Bump javax.mail dependency to 1.6.1, so that i18n is supported for
email addresses. Thanks to Vegard Stuen.
* Add missing getters and setters in EMail and subclasses; deprecate access to
protected instance variables. Thanks to Loki-Afro, Gary Gregory.
* DataSourceUrlResolver.resolve(String, boolean) leaks InputStreams. Thanks to Gary
Gregory.
* Use US-ASCII in MimeMessageUtils.createMimeMessage(Session, String). Thanks to
Gary Gregory.
Changes
-------
Enjoy!
-Apache Commons Net team
------------------------------------------------------------------------
INTRODUCTION
------------
Commons Email aims to provide a API for sending email. It builds on the JavaMail
API with the aim of presenting a simplified API which is easy for developers who
are not mail experts to use. It is a compact component with a small number of
classes.
The Commons Email website is the source for the most recent information,
downloads, reports, and bug status:
http://commons.apache.org/email/
This is a major release which adds some new features and fixes several bugs
present in the 1.4.0 release. All current users are encouraged to upgrade.
Compatibility
-------------
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.5.6</version>
</dependency>
New Features
------------
* Add Support for International Domain Names. This change requires JDK 1.6+.
Issue: EMAIL-160
Updates
-------
Fixed Bugs
----------
Compatibility
-------------
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.5.2</version>
</dependency>
== New Features ==
== Updates ==
Fixed Bugs
----------
* "Email" threw an "EmailException" when trying to send the email if neither a from
nor bounce address was specified, although a "mail.from" property was set in the
mail session.
Issue: EMAIL-149. Thanks to Richard DiCroce.
* "ImageHtmlEmail" failed to embed attachments if their data source name was null.
Issue: EMAIL-151. Thanks to Andreas Kohn.
* Html emails did not have the correct content-type set when using the Apache
Geronimo
JavaMail implementation v1.8.x.
Issue: EMAIL-147. Thanks to Can Eskikaya.
* An "HtmlEmail" with both, an html and plain text content but no attachments or
embedded
images will now be created with mimetype "multipart/alternative" instead of
"multipart/mixed".
Issue: EMAIL-142. Thanks to Marcin Tomiak.
Compatibility
-------------
Fixed Bugs
----------
Compatibility
-------------
Fixed Bugs
----------
* Special characters in the body of an HTML email could lead to an exception when
the
mime message was built.
Issue: EMAIL-127. Thanks to Dominik Stadler.
Compatibility
-------------
Fixed Bugs
----------
* Header values are not folded twice anymore. The actual encoding and folding is
now only performed in Email.buildMimeMessage().
Issue: EMAIL-124. Thanks to Stefan Schueffler.
Compatibility
-------------
== New Features ==
* Do not set the personal name of an address to the email address unless it is
explicitly specified (affects TO, CC, BCC and FROM addresses).
Issue: EMAIL-103. Thanks to David Rees.
* The patch actually broke sending emails over a secured connection - disabled the
"MAIL_SMTP_SSL_CHECKSERVERIDENTITY" and "MAIL_SMTP_SSL_ENABLE" activation. Tested
the functionality using GMail, GMX and Office365 so the code is at least working
for
a couple of existing SMTP servers. Also added 'sslCheckServerIdentity' including
setter and getter. Also added a chapter regarding "Security" to the user manual.
Issue: EMAIL-105. Thanks to Siegfried Goeschl.
* DataSourceFileResolverTest fails under IBM JDK 1.4 and 1.6 running on Windows.
Issue: EMAIL-112. Thanks to Peter Kofler.
* Added unit test to ensure that parsing the broken mime message does not cause an
OutOfMemoryException.
Issue: EMAIL-110. Thanks to Thomas Pummer.
* Clarified the meaning of setTLS() which actually sends a "STARTTLS" command from
the
client to the SMTP server. Please note that some "protected" variables were
renamed
which could break existing code.
Issue: EMAIL-105. Thanks to Bruno Harbulot.
* Incorrect SMTP Port number shown in error message when an email fails
to send due to a blocked port and SSL is used.
Issue: EMAIL-91. Thanks to Kevin Lester.
REQUIREMENTS:
J2SE environments
-----------------
https://java.net/projects/javamail/pages/Home
Commons Email has been tested with JDK 1.6 and 1.7.
J2EE environments
-----------------
Java 2 Enterprise Edition 1.4 users must ensure that the versions of
JavaMail and JAF indicated above are available to their applications;
the J2EE 1.4 specification only requires earlier versions.