+1 vote

On some POP3 servers, the method Pop3.DeleteMessageByUID(uid); does not work.

There are no error messages, but nothing happens, the mail is still there.

What can be causing this problem?

by

1 Answer

0 votes
 
Best answer
  1. Remember to use Close method, as DeleteMessageByUID only marks
    message for deletion. Message is actually deleted after successful
    QUIT command is received by the POP3 server.

  2. Some POP3 servers behave differently than the POP3 standard describes. For example Gmail POP3 behavior is different and depends on the account configuration.

by (301k points)
edited by
...