Fixed missing Content-Type POP3/TOP

pull/213/head
M66B 1 year ago
parent c5259db334
commit f86829daea

@ -612,6 +612,12 @@ public class POP3Message extends MimeMessage implements ReadableMime {
} finally {
hdrs.close();
}
// Some servers truncate the headers
if (headers.getHeader("Content-Type", null) == null) {
hdrSize = -1;
headers = null;
fetchContent = true;
}
}
}

@ -195,7 +195,7 @@ public class EmailService implements AutoCloseable {
boolean auth_sasl = prefs.getBoolean("auth_sasl", true);
boolean auth_apop = prefs.getBoolean("auth_apop", false);
boolean use_top = prefs.getBoolean("use_top", true);
boolean forget_top = prefs.getBoolean("forget_top", true);
boolean forget_top = prefs.getBoolean("forget_top", false);
Log.i("Authenticate" +
" plain=" + auth_plain +
" login=" + auth_login +

@ -2616,7 +2616,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
swAuthSasl.setChecked(prefs.getBoolean("auth_sasl", true));
swAuthApop.setChecked(prefs.getBoolean("auth_apop", false));
swUseTop.setChecked(prefs.getBoolean("use_top", true));
swForgetTop.setChecked(prefs.getBoolean("forget_top", true));
swForgetTop.setChecked(prefs.getBoolean("forget_top", false));
swKeepAlivePoll.setChecked(prefs.getBoolean("keep_alive_poll", false));
swEmptyPool.setChecked(prefs.getBoolean("empty_pool", true));
swIdleDone.setChecked(prefs.getBoolean("idle_done", true));

Loading…
Cancel
Save