----- Original Message -----
From: "William Ferguson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to