IPv4 preference

This commit is contained in:
M66B 2018-09-17 16:21:17 +00:00
parent 56df41c2f6
commit a659179ac1
1 changed files with 2 additions and 0 deletions

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) {