I work on Linux and want to send e-mails with Java code. However, when I compile it, I get
[cat@app07 paypal432]# javac CCBatchDev.java
CCBatchDev.java:17: package javax.mail does not exist
CCBatchDev.java:18: package javax.mail.internet does not exist
but I already added the dir that contains "activation.jar" and "mail.jar" to classpath. Look at this:
[cat@app07 paypal432]# echo $CLASSPATH
Anybody knows why my code still can't find the mail modules?
Thanks so much.