Method .GetMessage(i) not return message with full data

Jun 22, 2010 at 4:40 AM
Edited Jun 22, 2010 at 10:39 AM
Hi there, I don't know why method GetMessage(index) in the 46761 only return a Pop3Message object without BodyText or related contents like the Changeset 45719 and backward. So Would you please tell me what should I do to get a full message synchrously like in the former version?

Another strange behavior I found is if I used try to GetMessage(idx) in the DoWork() method of a BackgroundWorker, the BodyText and related contents were not return properly too. Is it a constraint not to use it in any background thread/process?

Hope to get your advise soon. Thanks a lot.

Best regards,

Jun 22, 2010 at 1:56 PM
Edited Jun 22, 2010 at 2:06 PM
I've discovered, if use method GetMessage(idx, callback), then in callback message body is ok. The problem seems to be in line 438 of Pop3Client.cs if (String.IsNullOrEmpty(CurrentLine) == true) { break; }
Jun 22, 2010 at 5:01 PM

Perhaps modify bug and upload source and dll.
Please check it out.

If you have problem,please show me reproduction code.
I'll investigate your problem.

There is no constraint in using background worker.

Thank you.