Javamail Environment(test msgsend.java)
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   zhao_wang
Posted On:   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 130.232.80.15(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.



Zhao
About | Sitemap | Contact