Skip to content

Commit bef9542

Browse files
committed
Prepare version 6.0.0-rc1
1 parent f2bb421 commit bef9542

File tree

15 files changed

+119
-67
lines changed

15 files changed

+119
-67
lines changed

README.md

Lines changed: 54 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Javadocs](https://img.shields.io/badge/javadoc-5.5.1-brightgreen.svg?color=brightgreen)](https://www.javadoc.io/doc/org.simplejavamail/simple-java-mail)
44
[![Codacy](https://img.shields.io/codacy/grade/c7506663a4ab41e49b9675d87cd900b7.svg?style=flat)](https://www.codacy.com/app/b-bottema/simple-java-mail)
55
![Java 1.7+](https://img.shields.io/badge/java-1.7+-lightgray.svg)
6-
[![Paypal Donate](https://img.shields.io/badge/donate%20with-paypal-blue.svg?style=flat)](https://paypal.me/bennybottema)
6+
[![Paypal Donate](https://img.shields.io/badge/buy%20me%20-a%20beer-blue.svg?style=flat)](https://paypal.me/bennybottema)
77

88
# Simple Java Mail #
99

@@ -13,68 +13,69 @@ The Simple Java Mail library is a thin layer on top of the [JavaMail smtp mailin
1313

1414
### [simplejavamail.org](http://www.simplejavamail.org) ###
1515

16-
```java
17-
EmailBuilder.startingBlank()
18-
EmailBuilder.replyingTo(email)
19-
EmailBuilder.forwarding(email)
20-
EmailBuilder.copying(email)
21-
```
22-
23-
```java
24-
ConfigLoader.loadProperties("simplejavamail.properties"); // optional default
25-
ConfigLoader.loadProperties("overrides.properties"); // optional extra
26-
27-
// almost everything is optional:
28-
Email email = EmailBuilder.startingBlank()
29-
.to("lollypop", "[email protected]")
30-
.to("C. Cane", "[email protected]")
31-
.ccWithFixedName("C. Bo group", "[email protected]", "[email protected]")
32-
.withRecipientsUsingFixedName("Tasting Group", BCC,
33-
34-
.bcc("Mr Sweetnose <[email protected]>")
35-
.withReplyTo("lollypop", "[email protected]")
36-
.withSubject("hey")
37-
.withHTMLText("<img src='cid:wink1'><b>We should meet up!</b><img src='cid:wink2'>")
38-
.withPlainText("Please view this email in a modern email client!")
39-
.withEmbeddedImage("wink1", imageByteArray, "image/png")
40-
.withEmbeddedImage("wink2", imageDatesource)
41-
.withAttachment("invitation", pdfByteArray, "application/pdf")
42-
.withAttachment("dresscode", odfDatasource)
43-
.withHeader("X-Priority", 5)
44-
.withReturnReceiptTo()
45-
.withDispositionNotificationTo("[email protected]")
46-
.withBounceTo("[email protected]")
47-
.signWithDomainKey(privateKeyData, "somemail.com", "selector")
48-
.buildEmail();
49-
50-
Mailer mailer = MailerBuilder
51-
.withSMTPServer("smtp.host.com", 587, "[email protected]", "password")
52-
.withTransportStrategy(TransportStrategy.SMTP_TLS)
53-
.withProxy("socksproxy.host.com", 1080, "proxy user", "proxy password")
54-
.withSessionTimeout(10 * 1000)
55-
.clearEmailAddressCriteria() // turns off email validation
56-
.withProperty("mail.smtp.sendpartial", true)
57-
.withDebugLogging(true)
58-
.buildMailer();
59-
60-
mailer.sendMail(email);
61-
```
62-
63-
---
64-
65-
66-
Simple Java Mail is available in [Maven Central](https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.simplejavamail%22%20AND%20a%3A%22simple-java-mail%22):
16+
Simple Java Mail is also available in [Maven Central](https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.simplejavamail%22%20AND%20a%3A%22simple-java-mail%22):
6717

6818
```xml
6919
<dependency>
7020
<groupId>org.simplejavamail</groupId>
7121
<artifactId>simple-java-mail</artifactId>
72-
<version>5.5.1</version>
22+
<version>6.0.0-rc1</version>
7323
</dependency>
7424
```
7525

7626
### Latest Progress ###
7727

28+
[v6.0.0-rc1](https://search.maven.org/#artifactdetails%7Corg.simplejavamail%7Csimple-java-mail%7C6.0.0-rc1%7Cjar) (xx-December-2019, unreleased)
29+
30+
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:
31+
32+
- [CLI support!!](https://github.com/bbottema/simple-java-mail/issues/156),
33+
- major performance improvement with [advanced batch processing](https://github.com/bbottema/simple-java-mail/issues/214) including support for mail server clusters.
34+
- You can now replace the final sending of emails with [your own logic](https://github.com/bbottema/simple-java-mail/issues/121), using a 3rd party service of your choice.
35+
- 6.0.0 also includes support for [S/MIME signed and encrypted emails](https://github.com/bbottema/simple-java-mail/issues/187)!
36+
- All 3rd party dependencies have been made optional by splitting up Simple Java Mail into easy to use [modules](https://github.com/bbottema/simple-java-mail/issues/183).
37+
- You can now monitor and [handle async processing](https://github.com/bbottema/simple-java-mail/issues/148) using Futures.
38+
- MimeMessage results are now [structurally matched](https://github.com/bbottema/simple-java-mail/issues/144) to specific needs (only using alternative/mixed etc. when needed)
39+
40+
Here's the complete list of changes:
41+
42+
#### New features and enhancements ####
43+
- [#183](https://github.com/bbottema/simple-java-mail/issues/183) To manage all the optional dependencies and related code, Simple Java Mail should be split up into modules
44+
- [#156](https://github.com/bbottema/simple-java-mail/issues/156) Add CLI support
45+
- [#214](https://github.com/bbottema/simple-java-mail/issues/214) Support more advanced batch processing use cases
46+
- [#187](https://github.com/bbottema/simple-java-mail/issues/187) Simple Java Mail should have optional support for signed S/MIME attachments
47+
- [#121](https://github.com/bbottema/simple-java-mail/issues/121) Introduce interfaces for validation and sending, so these steps can be customized
48+
- [#144](https://github.com/bbottema/simple-java-mail/issues/144) Simple Java Mail should tailor the MimeMessage structure to specific needs
49+
- [#138](https://github.com/bbottema/simple-java-mail/issues/138) Add support for Calendar events (iCalendar vEvent)
50+
- [#235](https://github.com/bbottema/simple-java-mail/issues/235) Be able to fix the sent date for a new email
51+
- [#232](https://github.com/bbottema/simple-java-mail/issues/232) Improve encoding of attachment file names
52+
- [#222](https://github.com/bbottema/simple-java-mail/issues/222) Add config property support for trusting hosts and verifying server identity
53+
- [#212](https://github.com/bbottema/simple-java-mail/issues/212) Authenticated proxy server started even if already running, raising exception
54+
- [#207](https://github.com/bbottema/simple-java-mail/issues/207) Implement more comprehensive ThreadPoolExecutor and expose config options
55+
- [#211](https://github.com/bbottema/simple-java-mail/issues/211) SpringSupport should expose the intermediate builder for customization
56+
- [#193](https://github.com/bbottema/simple-java-mail/issues/193) Simple Java Mail should use default server ports when not provided by the user
57+
58+
#### Bugs solved ####
59+
- [#236](https://github.com/bbottema/simple-java-mail/issues/236) Message ID should be mapped from Outlook messages as well
60+
- [#210](https://github.com/bbottema/simple-java-mail/issues/210) Connection/session timeout properties not set when not sending in batch mode
61+
- [#201](https://github.com/bbottema/simple-java-mail/issues/201) When parsing Outlook message, FROM address should default to a dummy address when missing
62+
- [#200](https://github.com/bbottema/simple-java-mail/issues/200) When parsing Outlook message, attachment name doesn't fallback on filename if proper name is empty
63+
- [#161](https://github.com/bbottema/simple-java-mail/issues/161) When reading (chinese) .msg files, HTML converted from RTF is completely garbled (encoding issue)
64+
- [#159](https://github.com/bbottema/simple-java-mail/issues/159) Can not parse email with blank email address headers
65+
- [#139](https://github.com/bbottema/simple-java-mail/issues/139) Multiple Bodyparts of same Content-Type not supported for text/html & text/plain within Multipart/mixed or Multipart/alternative
66+
- [#151](https://github.com/bbottema/simple-java-mail/issues/151) Attachment's file extension overwritten by resource's invalid extension
67+
68+
#### Maintenance updates ####
69+
- [#165](https://github.com/bbottema/simple-java-mail/issues/165) Move away from Findbugs (unofficial JSR-305) annotations
70+
- [#164](https://github.com/bbottema/simple-java-mail/issues/164) The DKIM dependency has been updated to benefit from the newer Apache V2 license
71+
- [#164](https://github.com/bbottema/simple-java-mail/issues/164) The DKIM dependency has been updated to benefit from the newer Apache V2 license
72+
- [#184](https://github.com/bbottema/simple-java-mail/issues/184) Update JavaMail dependency to 1.6.2, adding support for UTF-8 charset
73+
- [#186](https://github.com/bbottema/simple-java-mail/issues/186) Update JavaMail dependency to 1.6.2, adding support for authenticated HTTP web proxy
74+
- [#146](https://github.com/bbottema/simple-java-mail/issues/146) Added OSGI manifest and switched to spotbugs
75+
76+
**Aside from these all 3rd party libraries have been updated which solve a host of bugs, including better Outlook message parsing support.**
77+
78+
7879
v5.5.0 - [v5.5.1](https://search.maven.org/#artifactdetails%7Corg.simplejavamail%7Csimple-java-mail%7C5.5.1%7Cjar)
7980

8081
- v5.5.1 (20-October-2019): [#230](https://github.com/bbottema/simple-java-mail/issues/230) Bugfix: Missing address value in address headers (ie. Return-Path) not handled properly, resulting in Exception

RELEASE.txt

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,60 @@ http://www.simplejavamail.org
33
<dependency>
44
<groupId>org.simplejavamail</groupId>
55
<artifactId>simple-java-mail</artifactId>
6-
<version>5.5.1</version>
6+
<version>6.0.0-rc1</version>
77
</dependency>
88

9+
v6.0.0-rc1 (xx-December-2019, unreleased)
10+
11+
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:
12+
13+
- [CLI support!!](https://github.com/bbottema/simple-java-mail/issues/156),
14+
- major performance improvement with [advanced batch processing](https://github.com/bbottema/simple-java-mail/issues/214) including support for mail server clusters.
15+
- You can now replace the final sending of emails with [your own logic](https://github.com/bbottema/simple-java-mail/issues/121), using a 3rd party service of your choice.
16+
- 6.0.0 also includes support for [S/MIME signed and encrypted emails](https://github.com/bbottema/simple-java-mail/issues/187)!
17+
- All 3rd party dependencies have been made optional by splitting up Simple Java Mail into easy to use [modules](https://github.com/bbottema/simple-java-mail/issues/183).
18+
- You can now monitor and [handle async processing](https://github.com/bbottema/simple-java-mail/issues/148) using Futures.
19+
- MimeMessage results are now [structurally matched](https://github.com/bbottema/simple-java-mail/issues/144) to specific needs (only using alternative/mixed etc. when needed)
20+
21+
Here's the complete list of changes:
22+
23+
#### New features and enhancements ####
24+
- #183: To manage all the optional dependencies and related code, Simple Java Mail should be split up into modules
25+
- #156: Add CLI support
26+
- #214: Support more advanced batch processing use cases
27+
- #187: Simple Java Mail should have optional support for signed S/MIME attachments
28+
- #121: Introduce interfaces for validation and sending, so these steps can be customized
29+
- #144: Simple Java Mail should tailor the MimeMessage structure to specific needs
30+
- #138: Add support for Calendar events (iCalendar vEvent)
31+
- #235: Be able to fix the sent date for a new email
32+
- #232: Improve encoding of attachment file names
33+
- #222: Add config property support for trusting hosts and verifying server identity
34+
- #212: Authenticated proxy server started even if already running, raising exception
35+
- #207: Implement more comprehensive ThreadPoolExecutor and expose config options
36+
- #211: SpringSupport should expose the intermediate builder for customization
37+
- #193: Simple Java Mail should use default server ports when not provided by the user
38+
39+
#### Bugs solved ####
40+
- #236: Message ID should be mapped from Outlook messages as well
41+
- #210: Connection/session timeout properties not set when not sending in batch mode
42+
- #201: When parsing Outlook message, FROM address should default to a dummy address when missing
43+
- #200: When parsing Outlook message, attachment name doesn't fallback on filename if proper name is empty
44+
- #161: When reading (chinese) .msg files, HTML converted from RTF is completely garbled (encoding issue)
45+
- #159: Can not parse email with blank email address headers
46+
- #139: Multiple Bodyparts of same Content-Type not supported for text/html & text/plain within Multipart/mixed or Multipart/alternative
47+
- #151: Attachment's file extension overwritten by resource's invalid extension
48+
49+
#### Maintenance updates ####
50+
- #165: Move away from Findbugs (unofficial JSR-305) annotations
51+
- #164: The DKIM dependency has been updated to benefit from the newer Apache V2 license
52+
- #164: The DKIM dependency has been updated to benefit from the newer Apache V2 license
53+
- #184: Update JavaMail dependency to 1.6.2, adding support for UTF-8 charset
54+
- #186: Update JavaMail dependency to 1.6.2, adding support for authenticated HTTP web proxy
55+
- #146: Added OSGI manifest and switched to spotbugs
56+
57+
**Aside from these all 3rd party libraries have been updated which solve a host of bugs, including better Outlook message parsing support.**
58+
59+
960
v5.5.0 - [v5.5.1](https://search.maven.org/#artifactdetails%7Corg.simplejavamail%7Csimple-java-mail%7C5.5.1%7Cjar)
1061

1162
- v5.5.1 (20-October-2019): #230: Bugfix: Missing address value in address headers (ie. Return-Path) not handled properly, resulting in Exception

angular-app

modules/authenticated-socks-module/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<groupId>org.simplejavamail</groupId>
99
<artifactId>maven-master-project</artifactId>
1010
<!--suppress MavenPropertyInParent -->
11-
<version>6.0.0-rc1-SNAPSHOT</version>
11+
<version>6.0.0-rc1</version>
1212
<relativePath>../../</relativePath>
1313
</parent>
1414

modules/batch-module/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<groupId>org.simplejavamail</groupId>
99
<artifactId>maven-master-project</artifactId>
1010
<!--suppress MavenPropertyInParent -->
11-
<version>6.0.0-rc1-SNAPSHOT</version>
11+
<version>6.0.0-rc1</version>
1212
<relativePath>../../</relativePath>
1313
</parent>
1414

modules/cli-module/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<groupId>org.simplejavamail</groupId>
99
<artifactId>maven-master-project</artifactId>
1010
<!--suppress MavenPropertyInParent -->
11-
<version>6.0.0-rc1-SNAPSHOT</version>
11+
<version>6.0.0-rc1</version>
1212
<relativePath>../../</relativePath>
1313
</parent>
1414

modules/core-module/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<groupId>org.simplejavamail</groupId>
99
<artifactId>maven-master-project</artifactId>
1010
<!--suppress MavenPropertyInParent -->
11-
<version>6.0.0-rc1-SNAPSHOT</version>
11+
<version>6.0.0-rc1</version>
1212
<relativePath>../../</relativePath>
1313
</parent>
1414

modules/core-test-module/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<groupId>org.simplejavamail</groupId>
99
<artifactId>maven-master-project</artifactId>
1010
<!--suppress MavenPropertyInParent -->
11-
<version>6.0.0-rc1-SNAPSHOT</version>
11+
<version>6.0.0-rc1</version>
1212
<relativePath>../../</relativePath>
1313
</parent>
1414

modules/dkim-module/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<groupId>org.simplejavamail</groupId>
99
<artifactId>maven-master-project</artifactId>
1010
<!--suppress MavenPropertyInParent -->
11-
<version>6.0.0-rc1-SNAPSHOT</version>
11+
<version>6.0.0-rc1</version>
1212
<relativePath>../../</relativePath>
1313
</parent>
1414

modules/jacoco-aggregator-module/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<groupId>org.simplejavamail</groupId>
99
<artifactId>maven-master-project</artifactId>
1010
<!--suppress MavenPropertyInParent -->
11-
<version>6.0.0-rc1-SNAPSHOT</version>
11+
<version>6.0.0-rc1</version>
1212
<relativePath>../../</relativePath>
1313
</parent>
1414

0 commit comments

Comments
 (0)