From 03925fb409ed9f80eb22e752c08e8cead0673729 Mon Sep 17 00:00:00 2001 From: Joe Steele Date: Tue, 17 Dec 2013 13:44:25 -0500 Subject: [PATCH] Fix POP3 STLS command The server response needed to be retrieved. Thanks to Paul Durrant: https://groups.google.com/d/msg/k-9-mail/0XHNNMR1TQ4/yExsr7nvJQwJ --- src/com/fsck/k9/mail/store/Pop3Store.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/mail/store/Pop3Store.java b/src/com/fsck/k9/mail/store/Pop3Store.java index 80711a48f..ab2133001 100644 --- a/src/com/fsck/k9/mail/store/Pop3Store.java +++ b/src/com/fsck/k9/mail/store/Pop3Store.java @@ -354,7 +354,7 @@ public class Pop3Store extends Store { mCapabilities = getCapabilities(); if (mCapabilities.stls) { - writeLine(STLS_COMMAND); + executeSimpleCommand(STLS_COMMAND); SSLContext sslContext = SSLContext.getInstance("TLS"); boolean secure = mConnectionSecurity == CONNECTION_SECURITY_TLS_REQUIRED;