Hi, all...
Using jdk1.3/jsdk2.1/javamail_1.2, I'm testing my mail-sending servlet.
I set some jar files(mail.jar, activation.jar) to my clsspath in jdk1.3
folder, and compiled sample sources of downloadable javamail zip.
When I ran the servlets in browser, I encountered this error message.
-------------------------------------------------------------
java.lang.NoClassDefFoundError: javax/activation/DataSource
...
-------------------------------------------------------------
This is my source.
=============================================================
...
java.util.Properties properties = System.getProperties();
properties.put("mail.smtp.host", smtpHost);
Session session = Session.getInstance(properties, null);
MimeMessage message = new MimeMessage(session); <== This Line!!!
...
=============================================================
I don't think this is a problem of source.
Please, somebody tell me how to use javamail.
Thank...