ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Euan Guttridge <>
Subject Mail task "Failed to initialise MIME mail"
Date Thu, 21 Nov 2002 16:32:55 GMT

1) Why do I get the "Failed to .."
2) How can I keep the attachment as an attachment?

I have optional.jar, mail.jar, activation.jar all in the system classpath.
The following task produces the Ant runtime output; 

[mail] Failed to initialise MIME mail
[mail] Using UU mail

; but does not stop the build.

The following task sends the email, with the html rendered correctly in the
body of the email, although the attachment is displayed as text, also in the
body - not as attached files as intended.

<mail mailhost="10.x" subject="Results" messagemimetype="text/html"
<from address=""/>
<to address=""/>
	<fileset dir="${output_dir}">
	    <include name="TESTS-*.xml"/>    


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message