We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

POP3 Client Does Not Send QUIT Message

We’re using Email .NET 21.9
It seems POP3 client does not send QUIT message even on disposal.
What is the proper way to disconnect explicitly for Pop3Client?


We have reproduced the issue and filed new EMAILNET-40453 task. You will be notified when it will be fixed.

For the moment you can use Pop3Client.CommitDeletes method as a woraround, it sends QUIT explicitly:

using (Pop3Client pop3Client = Pop3Client("Pop3Url", 110, "EMail", "Password", SecurityOptions.Auto))
    Pop3MessageInfoCollection messageInfoCol = popClient.ListMessages();
    foreach (Pop3MessageInfo messageInfo in messageInfoCol)
    // Quit command has been sent to a server