Thursday, November 11, 2004 12:10 AM
I add the mail.jar and activation.jar to CLASSPATH, and compile the msgsend.java in demo directory successfully. But when I input
[prompt] java msgsend -o from@address -M SMTP.Server to@address
under dos. SMTP.Server is replaced by 18.104.22.168(My email server IP).
It comes: Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/Message
Can anybody tell me how to solve the problem? Thank you.