Handle BAD respose on first try for ID command for IMAP.
This commit is contained in:
@@ -81,7 +81,7 @@ namespace Wino.Core.Integration
|
|||||||
{
|
{
|
||||||
await client.IdentifyAsync(_implementation);
|
await client.IdentifyAsync(_implementation);
|
||||||
}
|
}
|
||||||
catch (ImapCommandException commandException) when (commandException.Response == ImapCommandResponse.No)
|
catch (ImapCommandException commandException) when (commandException.Response == ImapCommandResponse.No || commandException.Response == ImapCommandResponse.Bad)
|
||||||
{
|
{
|
||||||
mustDoPostAuthIdentification = true;
|
mustDoPostAuthIdentification = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user