Doc: Clear mailbox before deleting the user (#10068)

This commit is contained in:
Bruno Oliveira
2022-06-23 21:47:39 -03:00
committed by GitHub

View File

@@ -631,6 +631,7 @@ Here's what that might look like:
def receiving_user(mail_admin):
user = mail_admin.create_user()
yield user
user.clear_mailbox()
mail_admin.delete_user(user)