Hi,

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"
messagefile="/junit-noframes.html">
<from address="[EMAIL PROTECTED]"/>
<to address="[EMAIL PROTECTED]"/>
        <fileset dir="${output_dir}">
            <include name="TESTS-*.xml"/>    
        </fileset> 
</mail> 


Thanks,
Euan


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to