mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 10:35:15 +01:00
Added option to prefer IPv4 addresses, improvements
This commit is contained in:
@@ -140,7 +140,10 @@ 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");
|
||||
if (prefs.getBoolean("ipv4", false)) {
|
||||
Log.i(Helper.TAG, "Prefering IPv4");
|
||||
System.setProperty("java.net.preferIPv4Stack", "true");
|
||||
}
|
||||
|
||||
// https://javaee.github.io/javamail/OAuth2
|
||||
Log.i(Helper.TAG, "Auth type=" + auth_type);
|
||||
|
||||
Reference in New Issue
Block a user