Pls help with wodImapServer - WeOnlyDo Discussion board

Pls help with wodImapServer (General questions)

by bkv, Wednesday, December 16, 2009, 14:41 (5455 days ago)

Hello,
We are trying to use wodImapServer and a bit confused with a logic of
ReadMessage and ListMessages methods. In your examples you didn`t use ReadMessage at all.

As I understand, ImapServer has to be able to send to user information about messages with certain detail level. Whole messages or only headers.
So, that when user connects, first he has to retrieve the list of messages headers for folder. Than, when navigate to certain message, retrieve whole message with body.
But we are not able to understand how to implement that logic using
ReadMessage and ListMessages. When and how to load only headers and when whole message.

Thanks in advanced,
Konstantin



Complete thread: