-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
It does indeed work. I have used JavaMail + JAF to parse the multi-part
mime POST response from a form file upload. I've also used it to send mail
in response to forms and such.
Check your repository and/or classpath settings.
-ch
------
Christopher Hoover
mailto:[EMAIL PROTECTED]
http://www.murgatroid.com
+1-408-348-0304, +1-209-315-6378 fax
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Sunil Kumar K
Sent: Tuesday, August 24, 1999 2:30 AM
To: Java Apache Users
Subject: Does Apache Jserv supports Java Mail PAckage
Hi all,
I'm using Apache 1.3.6 Web server with Apache Jserv1.0b + JDK1.2.1 and
JSDK2.0. We are developing a web site. For that we have to provide mail
utility to the web server... For this purpose I'm using Java Mail API. When
I run an example as an application, I get INTERNAL SERVER ERROR. Jserv.log
file says the following error......
<------------------------------------
[24/08/1999 14:23:58:456 GMT+05:30] java.lang.NoClassDefFoundError:
javax/mail/MessagingException
at DataOperations.Member.mailToMember(Member.java:247)
at ForgotPassword.doPost(ForgotPassword.java:27) --> This is my servlet
at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java)
at org.apache.jserv.JServConnection.run(JServConnection.java)
at java.lang.Thread.run(Thread.java:479)
------------------------------------>
The flow of the program is like is this.
* the HTML calls a servlet.
* In that servlet I include a package
* In that Package there is a class Member: In this class I call a
DataOperations class after which I call SendMail (which uses the Java Mail
package).
* when I run it thru the web server its giving the above said error.
Am I doing some thing wrong.... Please do help me immediately......
Thanx in advance
Sunil
----------------------------------------------------------------------------
------------------------------
" To handle yourself, use your head,
To handle others, use your heart."
----------------------------------------------------------------------------
------------------------------
Sunil Kumar K
BFL Software
e-mail : [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]