Thursday, February 5, 2004 12:01 AM
I've set the CLASSPATH variable to mail.jar and
activation.jar as required in the javamail API notes.
I compiled a code for sending a mail and it returned
no errors. However, when i tried running the program
from DOS using 'java SendMail -L', it returned me
something like : java.lang.NoClassDefFoundError in main.
I can't figure out the problem. Moreover, i'm using Jakarta Tomcat as server.
Where should i include the mail.jar and activation.jar for the server?
Could somebody please help? Thanx