Re: ERJavaMail problem

Ondřej Čada <[email protected]> Wed, 7 Sep 2011 15:51:22 +0200
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
David,

On Sep 7, 2011, at 3:18 PM, David LeBer wrote:

>>>> I went by this quickstart recommendation:
>>>>=20
>>>> =
http://homepage.mac.com/kelleherk/iblog/C183784902/E2093239404/index.html
>=20
> Hmm, yeah: "This article is OBSOLETE and the content has been =
removed!"

I'll be damned -- yesterday it did look quite normally :-O

>> I don't use either -- the only part of ER/Wonder I (am trying to) use =
is ERJavaMail. The rest is "pure WebObjects", so to speak. So, there's =
just -- as always -- Application extending WOApplication and Session =
extending WOSession.
>>=20
>> I've inferred from the "quickstart" above that it should be possible? =
Is it not, i.e., can't ERJM work "alone"?
>>=20
>> Thanks a lot and best
>=20
> ERXApplication is going to handle the properties setup and framework =
initialization for ERJavaMail for you. You'll need to handle that =
yourself if you don't extend it.=20

I'm willing to, but can you suggest how?

I'd be quite contended with sending the =
initializeFrameworkFromSystemProperties message to the shared ERJavaMail =
instance before using; the problem I so far was not able to solve is =
that it crashes (since the ERJavaMail.isValidEmail method inside raises =
the null exception).

Thanks a lot,
---
Ondra =C4=8Cada
OCSoftware:     [email protected]               http://www.ocs.cz
private         [email protected]             http://www.ocs.cz/oc