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