You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Harry Bakker <Ha...@ordina.nl> on 2004/03/10 10:16:46 UTC

How can I send non-body attachments with the mail task?

Hello everyone,

I need to sent a file as an attachment to an email. For this I use the 
mail task, but what is does is UUEncoding the attachment en putting it 
into the body of the email. This is not what I want! Is there a way to 
attach the file as a separate entity to the email?

Thanks in advance,

-Harry

Re: How can I send non-body attachments with the mail task?

Posted by "Alexey N. Solofnenko" <A....@mdl.com>.
You need to download JavaMail and its dependencies for the mime mail to 
work.

- Alexey.

Harry Bakker wrote:

>Hello everyone,
>
>I need to sent a file as an attachment to an email. For this I use the 
>mail task, but what is does is UUEncoding the attachment en putting it 
>into the body of the email. This is not what I want! Is there a way to 
>attach the file as a separate entity to the email?
>
>Thanks in advance,
>
>-Harry
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org