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
09bbab8765
commit
bb980bae78
1 changed files with 3 additions and 0 deletions
|
|
@ -37,7 +37,10 @@ class Office365ImapTransport(ImapTransport):
|
|||
username,
|
||||
access_token
|
||||
)
|
||||
|
||||
self.server = self.transport(self.hostname, self.port)
|
||||
logger.info(f'[_connect_oauth] hostname = {self.hostname}')
|
||||
logger.info(f'[_connect_oauth] auth string is: {auth_string}')
|
||||
typ, dat = self.server.authenticate("XOAUTH2", lambda x: auth_string)
|
||||
logger.info(f'[_connect_oauth] auth string is: {auth_string} and typ={typ} dat={dat}')
|
||||
self.server.select()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue