Re: er.javamail.centralize=true when properties are set to false
David LeBer <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
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