ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Detlef Brendle" <detlef.bren...@canoo.com>
Subject RE: The <mail> task with mime attachment
Date Tue, 08 Oct 2002 18:52:36 GMT
Both errors occurs due to missing optional.jar on Ant's classpath.
Check if the optional.jar is on the classpath.

detlef

-----Original Message-----
From: Johan Karlsson TACMa [mailto:joka@tac.se]
Sent: Tuesday, October 08, 2002 7:50 PM
To: 'ant-user@jakarta.apache.org'
Subject: The <mail> task with mime attachment


Hi,

I'm trying to use the <mail> task to send an e-mail with a jar file as
attachment. However, this is not working correctly. The e-mail is sent, but
I cannot attach anything. I get this as output:

[mail] Failed to initialise MIME mail
[mail] Failed to initialise UU mail
[mail] Using plain mail
[mail] Sending email: New Collector has been built.
[mail] From joka@tac.se
[mail] To [Johan Karlsson <joka@tac.se>]
[mail] Cc []
[mail] Bcc []
[mail] Sent email with 0 attachments

The definition from the build file (without the surrounding target
definition):

<mail from="joka@tac.se" mailhost="smtp.tac.se" subject="New Collector has
been built.">
<to name="Johan Karlsson" address="joka@tac.se"/>
<message>Collector ${version.full} ha been built successfully.</message>
</mail>

Can anyone pleas help me?

Regards
Johan


--
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