Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 25303 invoked from network); 4 Dec 2001 06:37:18 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 4 Dec 2001 06:37:18 -0000 Received: (qmail 5755 invoked by uid 97); 4 Dec 2001 06:37:22 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 5696 invoked by uid 97); 4 Dec 2001 06:37:21 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 5670 invoked from network); 4 Dec 2001 06:37:21 -0000 Message-ID: <003b01c17c8e$1e601c60$b3a1f40f@nordwand> From: "Steve Loughran" To: "Ant Users List" References: <000301c17c6f$4927be40$2e24cfc0@xedoc.com.au> Subject: Re: Mail Task failing on QUIT message Date: Mon, 3 Dec 2001 22:37:17 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "William Ferguson" To: Sent: Monday, December 03, 2001 6:56 PM Subject: Mail Task failing on QUIT message > Hi, > > I was just wondering whether anyone else has seen the mail task play up when > sending the QUIT message? > > The mail is sent OK, but the mail task fails when sending the QUIT message > with an ndexOutOfBoundsException in line 87 of > org.apache.tools.mail.SmtpResponseReader. > > It appears that the QUIT message is returning an empty String. > > This is using Ant v1.4.1, and I suspect that our mail server is probably > MS-Exchange pretending to be an smtp server. > > Has anyonelese seen this? I havent come across this, but I have been modifying mail so that there is a failonerror option, so you can at least specify a 'dont care' mail send. This will probably make its way into the nightly build in a few days, once I am happy with it. why not try the MimeMail task, which uses Sun's implementation of SMTP. If that doesnt work either, then you probably need to fix the Apache version to work with your server. -steve ps. consider filing a bug report -- To unsubscribe, e-mail: For additional commands, e-mail: