0 votes

Limilabs.Client.IMAP.ImapResponseException: [CLIENTBUG] syntax: expecting 'p', found 'x' at Limilabs.Client.IMAP.Imap.LoginOAUTH2(String user, String accessToken) at Program.Main()

Consider using application specific password, as I'm not sure Zoho supports OAuth 2.0 for IMAP.

1 Answer

0 votes

It seems to me Zoho doesn't support OAuth for IMAP - CAPABILITY response doesn't list OAuth as a supported authentication method.

They suggest using Application-Specific Password:

You can use regular Imap.UseBestLogin method with application specific password.

As for the error:
This error is returned by your IMAP server. You may turning on logging:
and ask your server administrator for help.

by (279k points)
edited by