Skip to content

POP3 Authentication issue #395

Description

@p231970

this is logged conversation between server and client using MailKit:

Connected to pop://mail.shoppingcartelite.com:110/?starttls=when-available
S: +OK <16184.1473445882@mail3.gohsphere.com>
C: CAPA
S: +OK capability list follows
S: USER
S: TOP
S: UIDL
S: .
C: APOP System.Text.UTF8Encoding pavel@shoppingcartelite.com
S: -ERR authorization failed

As you see server returns capabilities without APOP, but the MailKit try it first and server always closes the connection. Also Capabilities property contains this "Apop | Top | UIDL | User".
To resolve this I have to add a code between Connect and Authenticate:
Client.Capabilities ^= MailKit.Net.Pop3.Pop3Capabilities.Apop;
But I think it should to use capabilities returned by the server.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions