1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-10 06:48:19 +02:00

archive and delete

This commit is contained in:
Pietro Mingo 2022-08-01 12:39:09 +02:00
parent 1f6014918c
commit b39299692a
4 changed files with 21 additions and 6 deletions

View file

@ -251,6 +251,7 @@ class Mailbox(models.Model):
conn = Office365Transport(
self.location,
self.username,
archive=self.archive,
folder=self.folder
)
conn.connect(self.client_id, self.client_secret, self.tenant_id)