hpop icon indicating copy to clipboard operation
hpop copied to clipboard

Mails get not deleted after QUIT

Open DarthSonic opened this issue 3 years ago • 0 comments

var messageCount = client.GetMessageCount();
for (var messageId = 1; messageId <= messageCount; messageId++)
{
    var pop3Message = client.GetMessage(messageId);
    // do something with message
    client.DeleteMessage(messageId);
}
client.Disconnect()

With this code E-Mails get not deleted after Disconnect. Why that?

DarthSonic avatar Jan 20 '22 10:01 DarthSonic