According to my observation, BYE response form server is the one. ARE THERE ANY OTHER REASONS?
Yes. For example, if there is another client active, that client can cause EXPUNGE, EXISTS, FETCH and other responses to be sent to you.
I am considering for mobile device, It is difficult to maintain all message information in inbox at client side, which has limited memory. My idea is every time i will search from the server and i will fetch the requested message.
Don't users of mobile devices usually pay high traffic charges? Such a strategy would maximise the users bill, in that case.
--Arnt
