Todd, I am uncertain if this piece of information will be of any use to you -- when I first tried to setup JavaMail, I followed the online instruction and put the mail.jar and activation.jar in my j2sdk1.4.1_02\jre\li\ext folder. The JavaMail did not work. Thereafter, I got an advise from someone saying that it was a class loader problem. I then put the location of the mail.jar and activation.jar explicitly in the CLASSPATH. It worked well.
-Caroline --- todd thorner <[EMAIL PROTECTED]> wrote: > Thanks for helping me, I appreciate the ideas and > thoughts. > > I have activation.jar and mail.jar in > TOMCAT-HOME/common/lib and nowhere else on the > machine I am using. Is this right or wrong? Are > there other .jar files that I should make sure are > in (or not in) the common/lib directory? Does > activation.jar or mail.jar also need to be in my > webapp's WEB-INF/lib directory? > > I think I'm doing something wrong with the > MimeMessage object (passing an invalid Session > object to the constructor or something like that). > Does anyone know what circumstances would prevent a > new MimeMessage from being created properly? What > should I do about setContentType() for my > request/response ("text/plain" or "text/html")? > > Much of my headache is that I have only one machine > with which to work, and it runs Windows ME (my Linux > machine blew a motherboard recently). > > Can you learned Struts-Users help me with further > suggestions? I am another one of those whose > timeframe is "urgent" (I have a job opportunity that > hinges on my ability to demonstrate Struts > knowledge). > > Thanks for anything you can offer. > -- > > --------- Original Message --------- > > DATE: Sun, 5 Oct 2003 14:09:21 > From: "Yann Cébron" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Cc: > > >Todd, > > > >you need to add activation.jar to your webapp or TC > (common/lib) > > > >d/l: > > > >http://java.sun.com/products/javabeans/glasgow/jaf.html > > > >HTH, > > Yann > > > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: > [EMAIL PROTECTED] > >For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > ____________________________________________________________ > Get advanced SPAM filtering on Webmail or POP Mail > ... Get Lycos Mail! > http://login.mail.lycos.com/r/referral?aid=27005 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]