hi

did you try to set the property directly whitin the Properties File in the ERJavaMail framework?

ERJavaMail.framework\Resources\Properties

best regards
oliver


On 10/9/06, Dev WO <[EMAIL PROTECTED]> wrote:
I just added:
System.out.println( "At startup, centralize propertie is: " + System.getProperty( "er.javamail.centralize"));

and it returns false!?

So I really don't know why I got the error, it seems the properties are overwritten... or not taken into account:(

Xavier


Hi,
I followed the different resources about using ERJavaMail:
-the list

So far I though everything was working as I didn't get any crash, but no email was sent.

After a couple adjustments, I was able to get the error:
java.lang.IllegalArgumentException: When setting 'er.javamail.centralize=true' (which means you just test sending mails), you must also give a valid ' er.javamail.adminEmail=[EMAIL PROTECTED]' to which the mails are sent.

But I've got my Properties like:
er.javamail.centralize=false


So it make me think probably other properties won't be red too like the smtp host...

If I cannot make it read my properties, is there any way to set them directly in my email method?

Thanks

Xavier
_______________________________________________
WebObjects-dev mailing list


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ( Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/oliver.egger%40gmail.com

This email sent to [EMAIL PROTECTED]




--
oliver egger

dienerstr. 75 - 8004 zürich - switzerland
http://www.egger-loser.ch
mobile +41765795005
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to