Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 73809 invoked from network); 6 Apr 2006 23:49:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Apr 2006 23:49:36 -0000 Received: (qmail 67286 invoked by uid 500); 6 Apr 2006 23:49:30 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 67259 invoked by uid 500); 6 Apr 2006 23:49:29 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 67248 invoked by uid 99); 6 Apr 2006 23:49:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2006 16:49:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of bselack@digipixart.com designates 205.234.110.114 as permitted sender) Received: from [205.234.110.114] (HELO mail.digipixart.com) (205.234.110.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2006 16:49:28 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.digipixart.com (Postfix) with ESMTP id CE402330AAA; Thu, 6 Apr 2006 19:49:07 -0400 (EDT) Received: from mail.digipixart.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28381-10; Thu, 6 Apr 2006 19:49:03 -0400 (EDT) Received: from [192.168.0.112] (24.229.184.97.res-cmts.nbh.ptd.net [24.229.184.97]) by mail.digipixart.com (Postfix) with ESMTP id 876E7330A98; Thu, 6 Apr 2006 19:49:02 -0400 (EDT) From: "Barrie Selack" To: "Jakarta Commons Users List" , "Dion Gillard" Subject: Re: [email] org.apache.commons.mail.EmailException: Missing local name Date: Thu, 6 Apr 2006 19:49:01 -0400 Message-Id: <20060406234901.5595@mail.digipixart.com> In-Reply-To: References: <4434FCF2.5070703@capgemini.fr> <0IXA0050QTOCMOF1@mta6.srv.hcvlny.cv.net> <20060406150254.4395@mail.digipixart.com> X-Mailer: CTM PowerMail version 5.2 build 4388 English MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at digipixart.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >Got a stack trace for us? In getting the stack trace.. I found the problem. Sorry for the confusion. I'm doing a copy and filter in my Ant build to replace e-mail addresses properties. (which works fine) Then during development, I occasionally just command line copy changed template files over to the webapp side. In my copying these files, I was inadvertently overwriting the filtered e-mail properties with the @...@ values. (I was copying a directory I should not have been!) That was causing an javax.mail.internet.AddressException: Missing local name in string ``@mail.order-processing.email@'' which in turn caused the org.apache.commons.mail.EmailException: Missing local name Thanks, Barrie > >On 4/7/06, Barrie Selack wrote: >> >> When I'm running my application local (on localhost) it sometimes works >> fine, and other times give this error: >> >> org.apache.commons.mail.EmailException: Missing local name >> >> and fails sending the e-mail. >> >> It runs fine on other boxes (our test and production site) >> >> I'm sure it has something to do with the local machine name/setup, but >> it's strange that it works sometimes, and sometime not, with no changes, >> besides restarting the application. >> >> (the hosts file...) >> >> ## >> # Host Database >> # >> # localhost is used to configure the loopback interface >> # when the system is booting. Do not change this entry. >> ## >> 127.0.0.1 localhost >> 127.0.0.1 local.ourdomain.com >> >> Any suggestions? or anyone else with this problem? >> >> I'm on Mac OS X 10.3.9 >> >> Thanks, >> >> Barrie >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org >> For additional commands, e-mail: commons-user-help@jakarta.apache.org >> >> > > >-- >http://www.multitask.com.au/people/dion/ >Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid >of the dark, but because the dark is afraid of Chuck Norris --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org