From a03228e323c1d5d88cb446874ee213fb89bf2414 Mon Sep 17 00:00:00 2001 From: Balakrishnan Balasubramanian Date: Fri, 5 May 2023 19:12:35 -0400 Subject: [PATCH] delete on retr --- mail4one/pop3.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mail4one/pop3.py b/mail4one/pop3.py index 0914dc9..8e33596 100644 --- a/mail4one/pop3.py +++ b/mail4one/pop3.py @@ -159,6 +159,7 @@ def trans_command_retr(mails: MailList, req: Request): write(ok("Contents follow")) write(get_mail(entry)) write(end()) + mails.delete(req.arg1) else: write(err("Not found"))