I have searched extensively for an answer to why my Ant <mail> task keeps failing with this error. The only clue I could find was that this message usually means that mail.jar and/or activation.jar are missing from ANT_HOME/lib. I downloaded JAF 1.1 and Javamail 1.4 and installed all the jars to ANT_HOME/lib. But I still get the same message when the task tries to run! What is going on?? Any ideas?
<mail mailhost="${mailhost}" mailport="${mailport}" subject="${buildType}.${buildId} report" tolist="${emailAll}"> <from address="${emailDes}"/> <message> Please find attached ZIP containing the full console output and the results of the unit tests. </message> <fileset dir="${htmlResultDir}"> <include name="${resultsReportFile}" /> </fileset> </mail> -- View this message in context: http://www.nabble.com/Why-am-I-getting-%27Failed-to-initialise-MIME-mail%3A-javax.mail.Address%27---tf1924061.html#a5268206 Sent from the Ant - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]