ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Mail Task failing on QUIT message
Date Tue, 04 Dec 2001 06:37:17 GMT

----- Original Message -----
From: "William Ferguson" <william_ferguson@versata.com>
To: <ant-user@jakarta.apache.org>
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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message