mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-11 12:40:22 -05:00
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
This commit is contained in:
parent
b392603ae0
commit
d1fc587772
@ -354,7 +354,7 @@ public class Pop3Store extends Store {
|
|||||||
mCapabilities = getCapabilities();
|
mCapabilities = getCapabilities();
|
||||||
|
|
||||||
if (mCapabilities.stls) {
|
if (mCapabilities.stls) {
|
||||||
writeLine(STLS_COMMAND);
|
executeSimpleCommand(STLS_COMMAND);
|
||||||
|
|
||||||
SSLContext sslContext = SSLContext.getInstance("TLS");
|
SSLContext sslContext = SSLContext.getInstance("TLS");
|
||||||
boolean secure = mConnectionSecurity == CONNECTION_SECURITY_TLS_REQUIRED;
|
boolean secure = mConnectionSecurity == CONNECTION_SECURITY_TLS_REQUIRED;
|
||||||
|
Loading…
Reference in New Issue
Block a user