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
I have two or three web applications that use JavaMail. I develop on a Macintosh then drop the WAR files on Tomcat running on a Red Hat Linux system. In each case it was sufficient to put the JAR files in WEB-INF/lib. My web.xml files do not contain any resource-ref tags. -Original

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

RE: javamail + tomcat

2006-08-25 Thread Propes, Barry L
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 it, and then only in the Bulk Mail folder! Quite an

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