I know for a fact the IMAP connection never broke. I have the network trace that shows the connection is fine (you can look at it if you want to). c-client is returning a NULL BODY structure and I can never go download the message's bodies. And thus, I want to force c-client to go get the body structure again.

Mark Crispin wrote:
If c-client has cached a blank body, that means that either the body is blank or that the IMAP connection is broken thus the stream is dead.

In the case of the former, "redownloading" would do no good.

In the case of the latter, the recovery procedure is to close the MAILSTREAM and re-open it.

There is no "retry" in IMAP. IMAP is a stateful stream oriented protocol. The notion of "retry" is only meaningful in stateless datagram oriented protocols such as NFS.

On Thu, 8 Jun 2006, Shawn Walker wrote:
How do I get c-client to force it to redownload the body structure that c-client caches?

I tried calling mail_fetch_structure() again, but nothing. I'm having a issue that c-client is giving me a blank body but the body is there and which causes us to display a empty message to the user.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to