Browse Source

bugzilla 48932, IO error sending mail with plain mimetype, socket closed

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@924533 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 15 years ago
parent
commit
cd4f36c8c2
2 changed files with 5 additions and 2 deletions
  1. +4
    -1
      WHATSNEW
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/email/Message.java

+ 4
- 1
WHATSNEW View File

@@ -59,7 +59,10 @@ Fixed bugs:
Bugzilla Report 48853
* ANT_CMD_LINE_ARGS are rippling through lower level Ant usage
Bugzilla Report 48876
Bugzilla Report 48876
* email : IO error sending mail with plain mimetype
Bug 48932

Other changes:
--------------


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/email/Message.java View File

@@ -141,7 +141,7 @@ public class Message extends ProjectComponent {
}
out.flush();
} finally {
FileUtils.close(out);
//do not close the out writer as it is reused afterwards by the mail task
}
}



Loading…
Cancel
Save