Browse Source

IPv4 preference

main
M66B 5 years ago
parent
commit
a659179ac1
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/src/main/java/eu/faircode/email/MessageHelper.java

+ 2
- 0
app/src/main/java/eu/faircode/email/MessageHelper.java View File

@ -140,6 +140,8 @@ public class MessageHelper {
System.setProperty("mail.mime.multipart.ignoremissingboundaryparameter", "true"); // javax.mail.internet.ParseException: In parameter list
System.setProperty("mail.mime.multipart.ignoreexistingboundaryparameter", "true");
//System.setProperty("java.net.preferIPv4Stack", "true");
// https://javaee.github.io/javamail/OAuth2
Log.i(Helper.TAG, "Auth type=" + auth_type);
if (auth_type == Helper.AUTH_TYPE_GMAIL) {


Loading…
Cancel
Save