Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 12441 invoked from network); 12 Dec 2001 13:58:22 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Dec 2001 13:58:22 -0000 Received: (qmail 19639 invoked by uid 97); 12 Dec 2001 13:58:11 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 19598 invoked by uid 97); 12 Dec 2001 13:58:10 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 19587 invoked from network); 12 Dec 2001 13:58:10 -0000 Message-ID: <00d201c18315$07f652e0$6401a8c0@darden.virginia.edu> From: "Erik Hatcher" To: "Ant Users List" References: <51B598DF899FD411832F000102702AD1767B85@mail0.private.tcenetinc.com> Subject: Re: mail jar file Date: Wed, 12 Dec 2001 08:58:08 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The messageFile attribute is a file that is used in the body of the mail message, not for attachments. The correct way to make attachments is to use a nested . Cut and pasted from the MimeMail docs: ----- Original Message ----- From: "Chris Chang" To: "'Ant Users List'" Sent: Tuesday, December 11, 2001 12:42 PM Subject: mail jar file > Sorry for the wrong subject (previous)! > > -----Original Message----- > From: Chris Chang [mailto:chris.chang@cendec.com] > Sent: December 11, 2001 10:42 AM > To: 'Ant Users List' > Subject: RE: Help with 'pathconvert', please! > > > Folks, > > Any ideas to send out jar file via email? > > > > messageMimeType="application/zip" > tolist="test@mail.com" > mailhost="mailhost01" > subject="Attachments ${TODAY}" > from="test"> > > > > --- Nested Exception --- > javax.mail.SendFailedException: Sending failed; > nested exception is: > javax.mail.MessagingException: IOException while sending message; > nested exception is: > javax.activation.UnsupportedDataTypeException: no object DCH for > MIME ty > pe application/zip > at javax.mail.Transport.send0(Transport.java:218) > at javax.mail.Transport.send(Transport.java:80) > at > org.apache.tools.ant.taskdefs.optional.net.MimeMail.doMail(MimeMail.j > ava:429) > at > org.apache.tools.ant.taskdefs.optional.net.MimeMail.execute(MimeMail. > java:304) > at org.apache.tools.ant.Task.perform(Task.java:217) > at org.apache.tools.ant.Target.execute(Target.java:184) > at org.apache.tools.ant.Target.performTasks(Target.java:202) > at org.apache.tools.ant.Project.executeTarget(Project.java:601) > at org.apache.tools.ant.Project.executeTargets(Project.java:560) > at org.apache.tools.ant.Main.runBuild(Main.java:454) > at org.apache.tools.ant.Main.start(Main.java:153) > at org.apache.tools.ant.Main.main(Main.java:176) > > Total time: 2 seconds > > Best Regards, > > Chris > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: