----- Original Message ----- From: "Noel J. Bergman" <[EMAIL PROTECTED]> To: "James Developers List" <[EMAIL PROTECTED]> Sent: Wednesday, March 10, 2004 8:36 AM Subject: RE: Merge Status
> > > I have also been looking at memory usage. MimeMessageWrapper needs > work. > > > We should not need to load the MimeMessage at all just to work with > > > headers. We should be able to add headers without rendering the body, > > > although if we add headers and then save, we currently count on the fact > > > that we are are writing from memory (otherwise we'd be writing the same > > > stream we are reading). Just dont call saveChanges()! > > Yeah, I would say more than just an individual header, but also > > individual message parts. For example, you should be able to add a > > text/html footer to a message with a big image/zip attachment and not > > have to load that image/zip attachment into memory. That�s also possible as long as no content is added that need encoding! If you dont believe, try it, especially if you intend just u write back "this doesnt work" without verification! Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
