Java Mailing List Archive

Apache Ant Archive

» Ant Users List
» Ant Developers List
Problem with <mail > task

Problem with <mail > task

2007-06-11       - By David Weintraub
Reply:     1     2     3     4     5     6  

I have a very straight forward build.xml file:

<project name="test" default="test" basedir=".">
   <target name="test">
           subject="Test Email"
           message="This is a test email"
           <to name="David Weintraub"

When I attempt to execute it, I get the following error message:

    [mail] Failed to initialise MIME mail: javax/mail/MessagingException


Which is strange because I set "failonerror" to "true".

Any ideas? I am currently sending mail via CruiseControl and that
works (and where I got the parameters from) so I know that it is
possible to send email from this machine.

If it's any help, here's the message from CruiseControl:

Failed to initialise MIME mail:

I am running Ant 1.7

David Weintraub

To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 - Jax Systems, LLC, U.S.A.