andyedinborough / aenetmail

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

GetMessage not returning messages #189

Open mcmillab opened 8 years ago

mcmillab commented 8 years ago

It's possible I've misunderstood how GetMessage should work, if so please let me know.

For my mailbox if I call GetMessage(3592, 4000) I get no messages, however when I do GetMessage(3350,4000) and there are messages and the "m.MessageID" for the 1st message is 3592.

Why wasn't that returned in the original call to GetMessage?

thanks

Gluups commented 7 months ago

Hello, I am a user discovering this package, and I read a few issues. It seems you had no success with yours. Did you progress on it? Perhaps you could try this: imap.MailMessage[] mm = ic.GetMessages(0, ic.GetMessageCount()-1);