This project is read-only.

All messages are empty

Mar 10, 2012 at 5:53 PM
Edited Mar 10, 2012 at 5:54 PM

Hello, I have a problem. 

I followed an example in InterIMAPConsoleTest in Program.cs. 

Here is the code I have:


IMAPConfig config = new IMAPConfig("", "", "xxxxx", false, true, "");
IMAPClient client = null;
	client = new IMAPClient(config, null, 5);
	IMAPFolder f = client.Folders["INBOX"];

	foreach (IMAPMessage msg in f.Messages)
		IMAPMessage fullmessage = f.GetMessageByID(msg.Uid);
catch (IMAPException e)
So, in this code in fullmessage I have only Uid set, all other fields are either null or have empty default value.
What could be the problem causing this behavior? 

I've already tried to use RefreshData method on my fullmessage, but with no success.


Appreciate any help.