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 tags. -Original Message- From:

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 get

Re: javamail + tomcat

2006-08-28 Thread Marc Farrow
x27;t think 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

RE: javamail + tomcat

2006-08-25 Thread Ovi Comes
o: 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 calling javamail directly. if I am sending to gmail.com. I would use this code.. Properties props = new Properties(); props.put("mail.sm

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

Re: javamail + tomcat

2006-08-25 Thread Marc Farrow
n additional component for sending email? I don't think I ever knew that. Where's it configured? 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: javam

RE: javamail + tomcat

2006-08-25 Thread Propes, Barry L
2 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 the "mail.smtp.host" attribute to a valid MX entry for the receiving domain. On 8/25/06, Ovi Comes <[EMAIL PROTECTED]> wrot

Re: javamail + tomcat

2006-08-25 Thread Marc Farrow
8 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. I could send through my desktop and only my email address th

RE: javamail + tomcat

2006-08-25 Thread Ovi Comes
ropes, 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 relayi

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 ag