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

Mike Schrag <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
You say it used to work -- what changed?  Did you upgrade to a new  
Wonder?

If you set er.javamail.ERJavaMail logging level to DEBUG, what  
javamail log information do you get at startup?  Are you extending  
ERXApplication or just using ERJavaMail outside of Wonder?  If you  
use it outside of Wonder, you will need to initialize the framework  
manually (something ERXA normally does for you).  If you are outside  
Wonder, to manually initialize the framework, run  
ERXJavaMail.sharedInstance().finishInitialization();

ms

On Sep 18, 2007, 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.
>
>
>
>
>
> 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

_______________________________________________
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.