Re: er.javamail.centralize=true when properties are set to false

Tony Hoffman <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Doesn't look like it. There had been no ER.JavaMail specific settings  
in my personal properties, and when I did set them explicitly as in  
the project's properties file (as well as the ERJavaMail framework  
properties file) the same exception occurred.

Thank you though.



On Sep 18, 2007, at 12:33 PM, David LeBer wrote:

>
> On 18-Sep-07, at 11:53 AM, Tony Hoffman wrote:
>
>> I followed the thread on this topic but I can't find an eventual  
>> conclusion / solution apart from switching back over to  
>> WOMailDelivery (which threads on this topic convinced me to drop  
>> as outdated).
>>
>> My e-mail had been working fine previously. But now I'm getting  
>> the exception in this posting's subject.
>>
>> I have used
>>
>> System.out.println( "At startup, centralize propertie is: " +  
>> System.getProperty( "er.javamail.centralize") + " and  
>> er.javamail.adminEmail is " + System.getProperty 
>> ( "er.javamail.adminEmail") );
>>
>> in the Application.java file to give me readouts of "At startup,  
>> centralize propertie is: false and er.javamail.adminEmail is  
>> [vaild e-mail address]", but for whatever reason the system is  
>> spitting out the exception:
>>
>> - Exception sending email: java.lang.IllegalArgumentException:  
>> When setting 'er.javamail.centralize=true' (which means you just  
>> test sending mails), you must also give a valid  
>> '[email protected]' to which the mails are sent.
>>
>> This is a new problem -- the e-mail on both my development and  
>> deployment machines had been working fine previously.
>>
>> It looks to me like the application is finding a properties file  
>> somewhere other than in my project and the ERJavaMail framework (I  
>> have set both of these property files to read  
>> er.javamail.centralize=false).
>>
>> Anybody have any ideas or can direct me to a location on this  
>> topic I'd appreciate it.
>
> What about your personal properties?
>
> ~/Webobjects.properties
>
> ;david
>
> --
> David LeBer
> Codeferous Software
> 'co-def-er-ous' adj. Literally 'code-bearing'
> site:   http://codeferous.com
> blog: http://davidleber.net
> profile: http://www.linkedin.com/in/davidleber
> --
> Toronto Area Cocoa / WebObjects developers group:
> http://tacow.org
>
>
>

Tony Hoffman
Dog Eat Dog Advertising, Inc.
67 West Chippewa Street, Suite 100
Buffalo, New York 14202-2010
Phone: 716-856-0142 / Fax: 716-856-0176
www.superfetch.com

_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.