This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-email.git
from b07637d Better local variable names
new 3133522 Support OpenOptions for streams in new Path classes
new 3d48391 Add MimeMessageUtils.createMimeMessage(Session, Path,
OpenOption...)
new 185fb25 Add MultiPartEmail.attach(Path, OpenOption...).
new 5e901fa Sort imports
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/changes/changes.xml | 2 +
.../org/apache/commons/mail/MultiPartEmail.java | 28 +++++
.../commons/mail/activation/PathDataSource.java | 10 +-
.../mail/{util => activation}/package-info.java | 5 +-
.../mail/resolver/DataSourcePathResolver.java | 13 ++-
.../apache/commons/mail/util/MimeMessageUtils.java | 67 +++++++-----
.../org/apache/commons/mail/EmailLiveTest.java | 18 +++-
.../org/apache/commons/mail/HtmlEmailTest.java | 13 ++-
.../apache/commons/mail/ImageHtmlEmailTest.java | 30 +++---
.../apache/commons/mail/MultiPartEmailTest.java | 114 +++++++++++++++------
.../mail/mocks/MockMultiPartEmailConcrete.java | 1 +
.../mail/resolver/DataSourceUrlResolverTest.java | 2 +-
.../commons/mail/util/MimeMessageParserTest.java | 33 ++----
13 files changed, 232 insertions(+), 104 deletions(-)
copy src/main/java/org/apache/commons/mail/{util =>
activation}/package-info.java (90%)