Browse Source

Fixed decoding of broken encoded texts, like the subject

main
M66B 6 years ago
parent
commit
0f51c3088b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/src/main/java/eu/faircode/email/ServiceSynchronize.java

+ 1
- 0
app/src/main/java/eu/faircode/email/ServiceSynchronize.java View File

@ -309,6 +309,7 @@ public class ServiceSynchronize extends LifecycleService {
Properties props = MessageHelper.getSessionProperties(); Properties props = MessageHelper.getSessionProperties();
props.put("mail.imaps.peek", "true"); props.put("mail.imaps.peek", "true");
props.setProperty("mail.mime.address.strict", "false"); props.setProperty("mail.mime.address.strict", "false");
props.setProperty("mail.mime.decodetext.strict", "false");
//props.put("mail.imaps.minidletime", "5000"); //props.put("mail.imaps.minidletime", "5000");
Session isession = Session.getInstance(props, null); Session isession = Session.getInstance(props, null);
// isession.setDebug(true); // isession.setDebug(true);


Loading…
Cancel
Save