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
commit aa55975c7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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)