diff --git a/WHATSNEW b/WHATSNEW
index d30464dfb..a7f77d27a 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -99,6 +99,8 @@ Other changes:
* ant -diagnostics lists contents of ${user.home}/.ant/lib
+* mail task accepts nested header element. Bugzilla report 24713.
+
Changes from Ant 1.6.2 to current Ant 1.6 CVS version
=====================================================
diff --git a/docs/manual/CoreTasks/mail.html b/docs/manual/CoreTasks/mail.html
index 986b33937..e61590b1d 100644
--- a/docs/manual/CoreTasks/mail.html
+++ b/docs/manual/CoreTasks/mail.html
@@ -212,6 +212,31 @@ inside the <message>
element. Property expansion will occur
in the message, whether it is specified as an external file or as text within
the <message>
element.
Since Ant 1.7, arbitrary mail headers can be added by + specifying these attributes on one or more nested header elements:
+ +Attribute | +Description | +Required | +
name | +The name associated with this mail header. | +Yes | +
value | +The value to assign to this mail header. | +Yes | +
It is permissible to duplicate the name attribute amongst multiple headers. +
+@@ -259,7 +284,7 @@ will be replaced with thebuildname
property's value. Test Build, the message body being coded in UTF-8
-Copyright © 2000-2004 The Apache Software Foundation. All rights +
Copyright © 2000-2005 The Apache Software Foundation. All rights Reserved.