Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 16680 invoked from network); 24 Dec 2003 05:10:54 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Dec 2003 05:10:54 -0000 Received: (qmail 23925 invoked by uid 500); 24 Dec 2003 05:10:14 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 23906 invoked by uid 500); 24 Dec 2003 05:10:14 -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 23893 invoked from network); 24 Dec 2003 05:10:14 -0000 Received: from unknown (HELO smtp02.mrf.mail.rcn.net) (207.172.4.61) by daedalus.apache.org with SMTP; 24 Dec 2003 05:10:14 -0000 Received: from 209-6-223-42.c3-0.wtr-ubr1.sbo-wtr.ma.cable.rcn.com ([209.6.223.42] helo=terra) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AZ1Hp-0003e2-00 for tomcat-user@jakarta.apache.org; Wed, 24 Dec 2003 00:10:21 -0500 From: "Cord Awtry" To: "'Tomcat Users List'" Subject: RE: Tomcat 4.1.18 MailSession Problem Date: Wed, 24 Dec 2003 00:10:25 -0500 Message-ID: <00c701c3c9dc$3d9d8f70$6401a8c0@terra> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <9C5166762F311146951505C6790A9CF8013DF91B@US-VS1.corp.mpi.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Yoav, mail.smtp.host smtp.rcn.com mail.transport.protocol smtp Thanks, -C- -----Original Message----- From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com] Sent: Monday, December 22, 2003 9:33 AM To: Tomcat Users List Subject: RE: Tomcat 4.1.18 MailSession Problem Howdy, What's your Resource tag in server.xml for mail/MyMail look like? Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Cord Awtry [mailto:kipsta@rcn.com] >Sent: Sunday, December 21, 2003 9:24 PM >To: tomcat-user@jakarta.apache.org >Subject: Tomcat 4.1.18 MailSession Problem > >Hello all, > > I'm hoping someone can given me some help here. I'm >attempting to set up a mail session but I can't seem to get Tomcat to >use the specified host of the mail server, it keeps using only >localhost. > > In my web.xml, I have: > > > My Mail Server > mail/MyMail > javax.mail.Session > Container > > > And in the server.xml, I have: > > > > mail.smtp.host > smtp.myserver.com > > > > No matter what I do I get error from the mail server that it >can't relay my message. When I debug this and look at the session, the >mail.smtp.host is set to localhost. > > Any idea on what I've done wrong? > > Thanks in advance for any help, > > -C- This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org