mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Added provider xs4all
This commit is contained in:
@@ -268,6 +268,7 @@ public class FragmentQuickSetup extends FragmentBase {
|
||||
|
||||
String iprotocol = provider.smtp.starttls ? "smtp" : "smtps";
|
||||
try (MailService iservice = new MailService(context, iprotocol, null, false, true, true)) {
|
||||
iservice.setUseIp(provider.useip);
|
||||
iservice.connect(provider.smtp.host, provider.smtp.port, MailService.AUTH_TYPE_PASSWORD, user, password);
|
||||
}
|
||||
|
||||
@@ -333,6 +334,7 @@ public class FragmentQuickSetup extends FragmentBase {
|
||||
identity.auth_type = MailService.AUTH_TYPE_PASSWORD;
|
||||
identity.user = user;
|
||||
identity.password = password;
|
||||
identity.use_ip = provider.useip;
|
||||
identity.synchronize = true;
|
||||
identity.primary = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user