diff options
-rw-r--r-- | lib/pop3.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/pop3.c b/lib/pop3.c index 5ea50e369..2716cec65 100644 --- a/lib/pop3.c +++ b/lib/pop3.c @@ -780,8 +780,12 @@ static CURLcode pop3_state_capa_resp(struct connectdata *conn, int pop3code, else result = pop3_perform_authentication(conn); } - else - result = pop3_perform_user(conn); + else { + /* Clear text is supported when CAPA isn't recognised */ + pop3c->authtypes |= POP3_TYPE_CLEARTEXT; + + result = pop3_perform_authentication(conn); + } return result; } |