delete on retr

This commit is contained in:
Balakrishnan Balasubramanian 2023-05-05 19:12:35 -04:00
parent 22daadb206
commit a03228e323

View File

@ -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"))