ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <>
Subject AW: Failed to initialise MimeMail
Date Tue, 07 Oct 2003 08:31:26 GMT
Hi Dushyant,

ant's preferred way of sending mail is "mime" (actually JavaMail), unless
you specify you want plain mail.

<mail encoding="plain"  ..../>

will remove the message

"Failed to initliase MimeMail."

If you have mail.jar and activation.jar on your classpath, then ant will use
JavaMail unless you specify encoding="plain" or encoding="uu".


-----Ursprungliche Nachricht-----
Von: Dushyant Shrivastava []
Gesendet: Dienstag, 7. Oktober 2003 08:08
Betreff: Failed to initialise MimeMail


I am simply trying to send the Junit report (HTML file) as a message
body. This is the task that I have defined

<target name="mail" depends="test">


      <mail messagemimetype="text/html"




          subject="JUnit Test Results: ${TODAY}"


              <fileset dir="${reports}">

                     <include name="TESTS-*.xml"/>




However, I get the error "Failed to initliase MimeMail" while sending
mail and I end up getting the main in plain text.

Any ideas?? Also do I still need the Mail.jar and Activation.jar on my
classpath for the new Mail task? I thought those were required for
MimeMail task

Thanks in Advance

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

View raw message