Sending an email from a java application
Posted on 2002-04-11
However i am still having problems...
I am running on Windows XP, i have copied the "mail.jar" and the "activation.jar" files into the folder
C:\WINDOWS\java\classes directory, i downloaded them. I got them from the JavaMail API 1.2 release and the JAVABEANS ACTIVATION FRAMEWORK respectively.
I then added the classpath to them in my Visual J++. I specified the paths as:
but i get an Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/Message
I am really struggling to realise what i have done wrong...
can anyone spot any error?
Or does anyone have any code for sending an email. I have been trying all day, if you have a class that would work, aswell as the method call or constructor to the class...if so i will award you with the pints