Looking over his code, his reply object is not a MimeMessageWrapper instance
MimeMessage reply = new
MimeMessage(Session.getDefaultInstance(System.getProperties(), null));

so saveStream should be true, unless I'm overlooking something.

-----Original Message-----
From: Noel J. Bergman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 3:10 PM
To: James Developers List
Subject: RE: Re: Matcher/Mailet Library


Oh good point ... and if it IS a MimeMessageWrapper instance, then the code
would be active.

However, looking over his code, it did appear that isModified would be true
(it would have been set by any number of operations on the reply object).

        --- Noel

-----Original Message-----
From: Andrei Ivanov [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 17:19
To: James Developers List
Subject: Re: Re: Matcher/Mailet Library


I think it is always instance of MimeMessageWrapper if you obtain it as
mail.getMessage()... in mailet...
Andrei

>
> Seems to me that if the MimeMessage is NOT a MimeMessage wrapper, then
> saveStream is TRUE by default and writeMessageTo will be called.
>
> Mind you, I have NOT traced all of the code path to see what happens.
>
> --- Noel
>
>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to