Skip to content

Zoho IMAP Authentication #97

@JeRoNZ

Description

@JeRoNZ

I'm trying to connect to a Zoho IMAP server, (imap.zoho.com.au) and authentication is failing.

This seems to be because the "OK" is on the second line of the response

  • OK svwall.zoho.com IMAP4 Server (Zoho Mail IMAP4rev1 Server version 1.0)
    a1 LOGIN user@example.com p*ssw0d123
  • CAPABILITY IMAP4rev1 UNSELECT CHILDREN XLIST NAMESPACE IDLE MOVE ID AUTH=PLAIN SASL-IR UIDPLUS ESEARCH LIST-EXTENDED LIST-STATUS WITHIN LITERAL- ACL CONDSTORE
    a1 OK Success

If I handle the login in the same manner as Gmail, i.e. parse the 2nd line for an "OK", this appears to fix the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions