Browse Source

<mail>'s auto-encoding-selection was broken. PR 42389.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@704486 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 16 years ago
parent
commit
7eff21c38b
2 changed files with 4 additions and 2 deletions
  1. +4
    -0
      WHATSNEW
  2. +0
    -2
      src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java

+ 4
- 0
WHATSNEW View File

@@ -240,6 +240,10 @@ Fixed bugs:
breaks. breaks.
Bugzilla Report 43342. Bugzilla Report 43342.


* encoding="auto" has been broken in <mail> since Ant 1.7.0 and only
worked if JavaMail was available.
Bugzilla Report 42389.

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




+ 0
- 2
src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java View File

@@ -430,7 +430,6 @@ public class EmailTask extends Task {
log("Using MIME mail", Project.MSG_VERBOSE); log("Using MIME mail", Project.MSG_VERBOSE);
} catch (BuildException e) { } catch (BuildException e) {
logBuildException("Failed to initialise MIME mail: ", e); logBuildException("Failed to initialise MIME mail: ", e);
return;
} }
} }
// SMTP auth only allowed with MIME mail // SMTP auth only allowed with MIME mail
@@ -454,7 +453,6 @@ public class EmailTask extends Task {
log("Using UU mail", Project.MSG_VERBOSE); log("Using UU mail", Project.MSG_VERBOSE);
} catch (BuildException e) { } catch (BuildException e) {
logBuildException("Failed to initialise UU mail: ", e); logBuildException("Failed to initialise UU mail: ", e);
return;
} }
} }
// try plain format // try plain format


Loading…
Cancel
Save