I want to send an mail through ANT. For this, I have copied mail.jar and activation.jar in ANT-Installation-Dir/lib folder and also basedir/lib folder. I have downloaded javamail-1_3_3_01.zip (which contains mail.jar), jaf-1_0_2-upd2.zip (which contains activation.jar), and copying the two jar files into the lib directory of Apache Ant.
But I am getting following error.
Failed to send email: javax.mail.internet.MimeMessage
C:\shilpi\POC\ablunit\build.xml:57: java.lang.ClassNotFoundException: javax.mail.internet.MimeMessage
below is my ANT mail task.
<target name="all" description="send email using ant" >
<mail mailhost="secure.emailsrvr.com" mailport="465" user ="email@example.com" password=test" ssl="true" subject="Test build">
<message>The test has completed</message>
Please suggest if I am missing something.
Please help me out for above problem
Since the issues is not OpenEdge related at all, google may be your friend. This was my first hit on your error message:
Ok Mike. Really appreciate.