Thank you for your responses. I was puzzled by what Steve wrote and, given Lyndon's last message, suspect now that I was not as specific in my question as I might have been.
True I asked for guidance on how much data the server should return in the circumstances described, but that was not the crux of my question. What I was actually trying to get at is this: should the server set the \Seen flags for messages for which it has returned data or not?
Lyndon, I took your response as indicating that it should. However, I realize now that that was an inference that I was perhaps too hasty in making. Another thing: on further thought I am surprised that you said that you "*would* have the server return all the decodeable parts". Given my understanding that you have implemented this, I am wondering what you *did* have the server return. Of course I realize that for confidentiality concerns, or other possible reasons, you may choose not to say.
Pete Maclean
At 11:16 PM 8/12/2003 -0600, you wrote:
Steve nails this on the head. IMAP is a state machine. If yopu're trying to build context around command/response-type exchanges, you just don't get IMAP.
IMAP is stateless at the protocol level. If you don't get that, you've missed the boat and fallen off the dock.
--lyndon
