asp.net - C# OpenPOP index -



asp.net - C# OpenPOP index -

i using openpop library gmail. issue emails not in order received.

pop3 = new pop3client(); pop3.connect("pop.gmail.com", 995, true); pop3.authenticate("test@gmail.com", "test", authenticationmethod.usernameandpassword); emailamount = pop3.getmessagesizes().count; (int = 1; < emailamount; i++) { tempmessage = pop3.getmessage(i); tbstatus.text = asciiencoding.ascii.getstring(tempmessage.rawmessage); } pop3.disconnect(); pop3.dispose();

the emails received scattered. why , how can resolve it?

as far recall (and it's been while since read rfc-1939), pop3 server has no obligation list messages in particular order @ all.

so, if care processing messages in order received, it'll sort them order before processing them.

c# asp.net email pop3

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -