Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 72899 invoked from network); 6 Feb 2002 15:09:43 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Feb 2002 15:09:43 -0000 Received: (qmail 10261 invoked by uid 97); 6 Feb 2002 15:09:19 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 10237 invoked by uid 97); 6 Feb 2002 15:09:18 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 10225 invoked from network); 6 Feb 2002 15:09:18 -0000 Date: Wed, 6 Feb 2002 10:09:15 -0500 From: chad kellerman To: "Tomcat Users List" Subject: Re: SendMailServlet.class Message-Id: <20020206100915.2ba5961c.ckellerman@alabanza.com> In-Reply-To: References: Organization: alabanza inc X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Filter-Version: 1.4 (alabanza.com) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Sorry to have to write again but I am lost. I set the CLASS_PATH. That did not work, I downloaded the javamail, and moved allthe jar file to /usr/local/jakarta-tomcat-4.0/dist/common/lib/ which should have done it. But not. Still same error. I open up SendMailServlet.java and looked: import java.io.IOException; import java.io.PrintWriter; import javax.mail.Message; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; import javax.naming.Context; import javax.naming.InitialContext; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; I have everything but the javax.mail.*****. Is there another package that I might be missing. That again for all the help... Chad On Wed, 6 Feb 2002 13:44:27 -0000 Mark Meany wrote: > >> SendMailServlet.java:1: error:Cannot find type "javax/mail/Message" > > Try downloading the Sun JavaMail API and putting the jars somewhere visible > to your application. All should be Ok after this. > > http://java.sun.com/products/javamail/index.html > > M. > > > > > *************************************************************** > For more information on Ordnance Survey products and services, > visit our web site at http://www.ordnancesurvey.co.uk > *************************************************************** > > > > > -- > To unsubscribe: > For additional commands: > Troubles with the list: > -- To unsubscribe: For additional commands: Troubles with the list: