aioimaplib icon indicating copy to clipboard operation
aioimaplib copied to clipboard

Check for BYE response

Open ThiefMaster opened this issue 3 years ago • 0 comments

This can happen as a response to pretty much any command, especially when using XOAUTH for authentication. For example, on MS Exchange Online:

myprefix LIST "" "*"
* BYE Session invalidated - AccessTokenExpired

Ideally it's handled in a way so the user's code can detect this and e.g. reconnect with a new token.

ThiefMaster avatar Nov 23 '22 13:11 ThiefMaster