ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Chang <chris.ch...@cendec.com>
Subject mail jar file
Date Tue, 11 Dec 2001 17:42:55 GMT
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?

<!--
sample
-->

    <mimemail messageFile="test.jar"
              messageMimeType="application/zip"
              tolist="test@mail.com"
              mailhost="mailhost01"
              subject="Attachments ${TODAY}"
              from="test">
    </mimemail>

<!--
error
-->
--- 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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

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


Mime
View raw message