delete on retr
This commit is contained in:
parent
22daadb206
commit
a03228e323
@ -159,6 +159,7 @@ def trans_command_retr(mails: MailList, req: Request):
|
|||||||
write(ok("Contents follow"))
|
write(ok("Contents follow"))
|
||||||
write(get_mail(entry))
|
write(get_mail(entry))
|
||||||
write(end())
|
write(end())
|
||||||
|
mails.delete(req.arg1)
|
||||||
else:
|
else:
|
||||||
write(err("Not found"))
|
write(err("Not found"))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user