ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: Mail task: attachments displayed within email body when using Messenger
Date Fri, 04 Jul 2003 13:34:38 GMT
Hi Jean-Luc,
do you need to use the "uu" variant ?
maybe if you use the mime encoding it works better.
In this case you need the mail.jar and activation.jar from Sun. (copy into
$ANT_HOME/lib if working with the head revision of ant, otherwise probably
$ANT_HOME/lib/optional)
Cheers,
Antoine
----- Original Message -----
From: "MALVOISIN Jean-Luc" <jean-luc.malvoisin@designprocessing.com>
To: <user@ant.apache.org>
Sent: Friday, July 04, 2003 3:17 PM
Subject: Mail task: attachments displayed within email body when using
Messenger


> I'm using this snippet of Ant buildfile (see below), expecting sending
mail
> with attachments...
>
> This works fine. But, when this kind of mail is read with Netscape
> Messenger, attachments are automatically displayed within the email body,
> instead of behaving like real attachments...
>
> Why ? Encoding ? Is there a workaround to fix that behaviour ?
>
> Thanks in advance
>
>
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <project default="main" name="DPL">
> <target name="main">
> <mail encoding="uu" mailhost="my.smtp" subject="...">
>     <from name="me" address="me@designprocessing.com"/>
>     <bcc name="you" address="you@designprocessing.com"/>
>     <to address="you@designprocessing.com"/>
>     <message>
>     My message...
>     </message>
>     <fileset dir="C:\Temp\Tests_licences_1.2/DPTE/20030704-009">
>         <include name="*.dpl"/>
>     </fileset>
> </mail>
> </target>
> </project>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>



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


Mime
View raw message