Re: Help with ERJavaMail and system properties
Mike Schrag <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
What version of PW are you using? There was a bug sometime after the the switchover to the new startup procedure that resulted in ERJavaMail not initializing any of its properties, but I believe that has since been fixed. ms On Oct 9, 2006, at 8:46 AM, Dev WO wrote: > Hi, > I followed the different resources about using ERJavaMail: > -the list > -Kieran's blog: http://homepage.mac.com/kelleherk/iblog/C183784902/ > E2093239404/index.html > -Wiki book: http://en.wikibooks.org/wiki/Programming:WebObjects/ > Project_WONDER/Frameworks/ERJavaMail > > 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 > '[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 > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/mschrag% > 40mdimension.com > > This email sent to [email protected] _______________________________________________ WebObjects-dev mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/webobjects-dev