body of the emails have only ONE word

Jul 25, 2011 at 1:54 PM

Hi,

I use Imap4Client to download emails. A surprising thing that occurs is that all the emails that are downloaded only contain one word in the body. What could possibly be the reason for this.

I use the following code:

 

imap = new Imap4Client();
imap.ConnectSsl("imap.gmail.com", 993);
imap.Login(username, password);
Mailbox
 inbox = imap.SelectMailbox("INBOX");
for (int n = 1; n < inbox.MessageCount + 1 && n < 10; n++)
{
   ActiveUp.Net.Mail.Message newMessage = inbox.Fetch.MessageObject(n);
string body = newMessage.BodyText.Text; // body is always max one word long
}

 

Thanks for any help!

Gregor