JavaMail + Tomcat

2007-03-23 Thread Matt . Nelson
Hi, Regarding JavaMail: Is it possible to put the mail.jar (and activation.jar) in the web application's WEB-INF/lib folder instead of tomcat's common/lib? I did have it working in common/lib but then moved it to [web-app]/WEB-INF/lib - due to requirements - and I now get the following error:

Re: JavaMail + Tomcat

2007-03-23 Thread Mikolaj Rydzewski
[EMAIL PROTECTED] wrote: Regarding JavaMail: Is it possible to put the mail.jar (and activation.jar) in the web application's WEB-INF/lib folder instead of tomcat's common/lib? I did have it working in common/lib but then moved it to [web-app]/WEB-INF/lib - due to requirements - and I now

RE: JavaMail + Tomcat

2007-03-23 Thread Fuhs, David
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 2:51 AM To: users@tomcat.apache.org Subject: JavaMail + Tomcat Hi, Regarding JavaMail: Is it possible to put the mail.jar (and activation.jar) in the web application's WEB-INF/lib folder instead of tomcat's

Re: javamail + tomcat

2006-08-28 Thread Marc Farrow
that's viable solution since I don't know the target subscribers a priori. -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 5:01 PM To: Tomcat Users List Subject: Re: javamail + tomcat I am sure you can use a Mail session in Tomcat and set it up

javamail + tomcat

2006-08-25 Thread Ovi Comes
Hi, I need help with javamail in tomcat. Here is my issue: if send an email to an yahoo account, from my junit class everything is ok. When I run the same code in Tomcat, on the same machine, my email goes to spam/bulk folder. What is going on? Thanks, Ovi -- No virus found in this

RE: javamail + tomcat

2006-08-25 Thread Propes, Barry L
on every nuclear point the U.S. or U.N. wants to adopt! -Original Message- From: Ovi Comes [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 3:04 PM To: users@tomcat.apache.org Subject: javamail + tomcat Hi, I need help with javamail in tomcat. Here is my issue: if send an email

RE: javamail + tomcat

2006-08-25 Thread Ovi Comes
, Barry L [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 4:08 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: javamail + tomcat most likely you have to get relaying approved. I've had a similar problem and had to jettison the idea of JavaMail for now, due to the relaying problem

Re: javamail + tomcat

2006-08-25 Thread Marc Farrow
List; [EMAIL PROTECTED] Subject: RE: javamail + tomcat most likely you have to get relaying approved. I've had a similar problem and had to jettison the idea of JavaMail for now, due to the relaying problem. I could send through my desktop and only my email address through my ISP would receive

RE: javamail + tomcat

2006-08-25 Thread Propes, Barry L
Users List; [EMAIL PROTECTED] Subject: Re: javamail + tomcat If you want to send email directly via Tomcat, you can bypass relaying. Just set the mail.smtp.host attribute to a valid MX entry for the receiving domain. On 8/25/06, Ovi Comes [EMAIL PROTECTED] wrote: That is interesting. The funny

Re: javamail + tomcat

2006-08-25 Thread Marc Farrow
? In the server.xml file? -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 3:52 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: javamail + tomcat If you want to send email directly via Tomcat, you can bypass relaying. Just set

RE: javamail + tomcat

2006-08-25 Thread Propes, Barry L
ok, thanks. I'll give that a shot in Tomcat. -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 4:01 PM To: Tomcat Users List Subject: Re: javamail + tomcat I am sure you can use a Mail session in Tomcat and set it up the same way, but I am

RE: javamail + tomcat

2006-08-25 Thread Ovi Comes
List Subject: Re: javamail + tomcat I am sure you can use a Mail session in Tomcat and set it up the same way, but I am calling javamail directly. if I am sending to gmail.com. I would use this code.. Properties props = new Properties(); props.put(mail.smtp.host,gmail-smtp