Hi everyone!
I hope this isn't a common question - I did check the FAQ, and the
answer is ambiguous, so I'm asking here:
-Preliminaries: ant 1.52beta, jdk1.4.0, win2k
-I've got a very simple build.xml:
<project name="nv" default="application" basedir="../">
<target name="application">
<mail
from="me@my-address.com"
tolist="me@my-address.com"
subject="build results"
mailhost="[my linux box, which has an SMTP server running]"
message="Hey there. these here are some build results."
/>
</target>
</project>
this, unfortunately, results in this:
C:\src\nv\scripts>ant
Buildfile: build.xml
application:
[mail] Failed to initialise MIME mail
[mail] Sending email: build results
[mail] Failed to send email
BUILD FAILED
C:\src\nv\main\nv\scripts\build.xml:19: IO error sending mail
Total time: 1 second
C:\src\nv\scripts>
I've got both ant.jar and optional.jar in my classpath. Turning on
-verbose doesn't seem to do anything.
Anyone have any idea what I can do to make this work?
- josh
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|