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

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 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.

About | Sitemap | Contact