ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravensock <>
Subject ANT 1.8.0 Cannot send any mail
Date Wed, 31 Mar 2010 07:35:23 GMT

We've upgraded from ANT 1.6.5 to 1.8.0. But sending mails does not work as
we've been used to it.
Trying to send an email from the my daily build in case there was some error
leads to "Failed to send email". No matter what kind of encoding I use.

See below my debug output to the mini project "sendfailmail".
((Using ANT 1.6.5 this works fine - there I have "[mail] Using UU mail". And
the mail will be sent.))

Can anyone let me know whether this is a bug ??
Can we somehow use some other ant-task to still use mailing?
If this is a bug, when can we approx. take this in account?

Thanks a lot for your help

encoding defaults to "mime"
[mail] Failed to send email: javax.mail.internet.MimeMessage

encoding = "uu"
[mail] Failed to send email: Failed to initialise encoding: uu

encoding = "plain"
[mail] Failed to send email: socket closed
D:\Ant\apache-ant-1.8.0\testMail.xml:5: IO error sending mail

This is my test-project
<project name="sendfailmail">
<mail from="my@address" mailhost="mailhost"
      subject="Build failed message">
      <message>the build failed in unit xxx</message>

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message