mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
testing on feature
This commit is contained in:
parent
bb980bae78
commit
5155192194
1 changed files with 4 additions and 2 deletions
|
|
@ -220,8 +220,10 @@ class Mailbox(models.Model):
|
||||||
conn = Office365ImapTransport(
|
conn = Office365ImapTransport(
|
||||||
self.location,
|
self.location,
|
||||||
port=self.port if self.port else None,
|
port=self.port if self.port else None,
|
||||||
ssl=True,
|
tls=self.use_tls,
|
||||||
archive=self.archive
|
ssl=self.use_ssl,
|
||||||
|
archive=self.archive,
|
||||||
|
folder=self.folder
|
||||||
)
|
)
|
||||||
conn.connect(self.username, self.password)
|
conn.connect(self.username, self.password)
|
||||||
elif self.type == 'pop3':
|
elif self.type == 'pop3':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue