1
0
Fork 1
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:
Alireza Lotfi 2022-09-13 20:27:03 -04:00
parent 09bbab8765
commit bb980bae78

View file

@ -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()