ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Size of attachment in the mail task
Date Tue, 03 Sep 2002 06:27:29 GMT
On Tue, 3 Sep 2002, Paidighantam Venkata Suresh
<> wrote:

> I am not using any encoder,

You are - see <mail>'s encoding attribute.  You may not specify the
encoder, but one will be used (and Ant will tell you which).

But more to the point

> For this reason I was just wondering is there any size limit that
> can be sent as an attachment.

There will certainly be a limit, but it depends on so many parameters
that it is impossible to tell you what it will be.

If you've run into that limit, try granting more heap memory to Ant
(i.e. set the ANT_OPTS environment variable to something like -Xmx128m
or so) or explicitly chose a different encoder.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message