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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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="[EMAIL PROTECTED]"/> > <bcc name="you" address="[EMAIL PROTECTED]"/> > <to address="[EMAIL PROTECTED]"/> > <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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
