From user-return-70216-apmail-ant-user-archive=ant.apache.org@ant.apache.org Fri Apr 02 23:00:18 2010 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 82096 invoked from network); 2 Apr 2010 23:00:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Apr 2010 23:00:18 -0000 Received: (qmail 8679 invoked by uid 500); 2 Apr 2010 23:00:17 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 8637 invoked by uid 500); 2 Apr 2010 23:00:17 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 8629 invoked by uid 99); 2 Apr 2010 23:00:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 23:00:17 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of antoine@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 02 Apr 2010 23:00:08 +0000 Received: (qmail invoked by alias); 02 Apr 2010 22:59:47 -0000 Received: from user-12lcjsk.cable.mindspring.com (EHLO antoine-levy-lamberts-macbook.local) [69.86.79.148] by mail.gmx.net (mp049) with SMTP; 03 Apr 2010 00:59:47 +0200 X-Authenticated: #22961642 X-Provags-ID: V01U2FsdGVkX18rd7s3Xuoru4IkZ/gw4XBMdgQbmWueGndPLeL7oB zV+xWAvz9tBqgW Message-ID: <4BB676DF.1050907@gmx.de> Date: Fri, 02 Apr 2010 18:59:43 -0400 From: Antoine Levy Lambert User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: Ant Users List Subject: Re: ANT 1.8.0 Cannot send any mail References: <28092372.post@talk.nabble.com> In-Reply-To: <28092372.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.53000000000000003 X-Virus-Checked: Checked by ClamAV on apache.org Hi, sorry about that, there is a bug in 1.8.0 for plain email. mime email might work but requires mail.jar and activation.jar on the classpath. If you want to use plain email, you could try to build ant from source. Regards, Antoine ravensock wrote: > 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 > > tolist="whoever" > subject="Build failed message"> > the build failed in unit xxx > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org