I'm having trouble with the
Ant mail task. Its giving the error message below.
Buildfile: C:\Java\workspace\hospital\build.xml
init:
zip_dev:
mail_dev:
[mail] Failed to initialise MIME mail: javax/mail/MessagingException
[mail] Sending email:
Test build
[mail] Failed to send email
BUILD FAILED
C:\Java\workspace\hospital\build.xml:45: IO error sending mail
Total time: 7 seconds
this is the target:
I have searched on google, and some forums recommned placing mail.jar and activation.jar in %ANT_HOME%/lib which i have already done. (though, I'm using eclipse, so I placed these in /eclipse/plugins/%ANT_HOME%/lib)
please help!!