andyedinborough / aenetmail

C# POP/IMAP Mail Client
370 stars 153 forks source link

Can't get Message body #97

Open anbinhtrong opened 12 years ago

anbinhtrong commented 12 years ago

I tested AE NET mail with version 1.6 and I can't get body message.

var ic = new ImapClient("imap.gmail.com", "youremail", "yourpassword", ImapClient.AuthMethods.Login, 993, true); ic.SelectMailbox("INBOX"); var m = ic.GetMessage(1);//corrupt Console.WriteLine(m.Body);

I wait for 10 minutes and I can't get body message. It only get signature. Can you fix it?

anbinhtrong commented 12 years ago

The error is in Utilities.cs, line 27 OutOfMemoryException was unhandled Exception of type 'System.OutOfMemoryException' was thrown.