IMAP FETCH requires structural information about MIME messages.
unfortunately, reassembling the complete email then using MimeMessage
to obtain this information is very inefficient. adequate performance
requires quick access to this data from the backend without loading
all information from the email each time.

https://issues.apache.org/jira/browse/JAMES-808 proposed to store the
required output more or less directly and push the processing into the
backend.

AIUI MailboxAPI was intended to be generic and not coupled tightly to
a particular protocol but hopefully people who know more will jump,
explain it's history and where they see it going.

if we aren't comfortable with the introduction of tight couplings to
the IMAP protocol then MessageResult could expose a lightweight
structural outline.

opinions?

- robert

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

Reply via email to