You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2021/10/28 14:20:32 UTC

[ant] 02/02: document #161

This is an automated email from the ASF dual-hosted git repository.

bodewig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git

commit c3585aef09399e44f1a10c61cf7e4af80c017a3d
Author: Stefan Bodewig <st...@innoq.com>
AuthorDate: Thu Oct 28 16:20:09 2021 +0200

    document #161
---
 WHATSNEW               | 7 +++++++
 manual/Tasks/mail.html | 4 +++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/WHATSNEW b/WHATSNEW
index c78da8d..293f486 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -1,6 +1,13 @@
 Changes from Ant 1.10.12 TO Ant 1.10.13
 =======================================
 
+Other changes:
+--------------
+
+* added an implementation of the MIME Mail sender based on the
+  repackaged Jakarta Mail package rather than javax Mail.
+  Github Pull Request #161
+
 Changes from Ant 1.10.11 TO Ant 1.10.12
 =======================================
 
diff --git a/manual/Tasks/mail.html b/manual/Tasks/mail.html
index a2e0815..3b51a64 100644
--- a/manual/Tasks/mail.html
+++ b/manual/Tasks/mail.html
@@ -29,7 +29,7 @@
 <p>A task to send SMTP email.</p>
 <p>This task can send mail using either plain text, UU encoding, or MIME format mail, depending on
 what is available.</p>
-<p>SMTP auth and SSL/TLS require JavaMail and are only available in MIME format.</p>
+<p>SMTP auth and SSL/TLS require JavaMail or JakartaMail and are only available in MIME format.</p>
 <p>Attachments may be sent using nested <code>&lt;attachments&gt;</code> elements, which
 are <a href="../using.html#path">path-like structures</a>.  This means any filesystem
 based <a href="../Types/resources.html">resource</a> or resource collection can be used to point to
@@ -39,6 +39,8 @@ container.</p>
 <p><strong>Note</strong>: This task may depend on external libraries that are not included in the
 Ant distribution.  See <a href="../install.html#librarydependencies">Library Dependencies</a> for
 more information.</p>
+<p>Starting with Ant 1.10.13 Ant supports either the modern <code>jakarta.mail</code> as well as the
+  older <code>javax.mail</code> implementations and will prefer <code>jakarta.mail</code> if both are available.</p>
 
 <h3>Parameters</h3>
 <table class="attr">