Added unicode account option

This commit is contained in:
M66B
2022-08-12 22:09:50 +02:00
parent d05dbf0411
commit c2b2016680
21 changed files with 2874 additions and 53 deletions

View File

@@ -365,7 +365,8 @@ public class FragmentQuickSetup extends FragmentBase {
String aprotocol = (provider.imap.starttls ? "imap" : "imaps");
int aencryption = (provider.imap.starttls ? EmailService.ENCRYPTION_STARTTLS : EmailService.ENCRYPTION_SSL);
try (EmailService iservice = new EmailService(
context, aprotocol, null, aencryption, false, EmailService.PURPOSE_CHECK, true)) {
context, aprotocol, null, aencryption, false, false,
EmailService.PURPOSE_CHECK, true)) {
List<Throwable> exceptions = new ArrayList<>();
for (int i = 0; i < users.size(); i++) {
user = users.get(i);
@@ -473,7 +474,7 @@ public class FragmentQuickSetup extends FragmentBase {
String iprotocol = (provider.smtp.starttls ? "smtp" : "smtps");
int iencryption = (provider.smtp.starttls ? EmailService.ENCRYPTION_STARTTLS : EmailService.ENCRYPTION_SSL);
try (EmailService iservice = new EmailService(
context, iprotocol, null, iencryption, false,
context, iprotocol, null, iencryption, false, false,
EmailService.PURPOSE_CHECK, true)) {
iservice.setUseIp(provider.useip, null);
try {