ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravensock <sigrid.himmelber...@siemens.com>
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
Sigrid

--------------------------------
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
BUILD FAILED
D:\Ant\apache-ant-1.8.0\testMail.xml:5: IO error sending mail
        at
org.apache.tools.ant.taskdefs.email.PlainMailer.send(PlainMailer.java:113)
        at
org.apache.tools.ant.taskdefs.email.EmailTask.execute(EmailTask.java:571)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

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

-- 
View this message in context: http://old.nabble.com/ANT-1.8.0-Cannot-send-any-mail-tp28092372p28092372.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message