Default client size for imap client pool.
This commit is contained in:
@@ -48,13 +48,16 @@ namespace Wino.Core.Domain.Models.AutoDiscovery
|
|||||||
OutgoingServerPassword = UserMinimalSettings.Password,
|
OutgoingServerPassword = UserMinimalSettings.Password,
|
||||||
IncomingAuthenticationMethod = Enums.ImapAuthenticationMethod.Auto,
|
IncomingAuthenticationMethod = Enums.ImapAuthenticationMethod.Auto,
|
||||||
OutgoingAuthenticationMethod = Enums.ImapAuthenticationMethod.Auto,
|
OutgoingAuthenticationMethod = Enums.ImapAuthenticationMethod.Auto,
|
||||||
|
OutgoingServerSocketOption = Enums.ImapConnectionSecurity.Auto,
|
||||||
|
IncomingServerSocketOption = Enums.ImapConnectionSecurity.Auto,
|
||||||
IncomingServer = imapUrl,
|
IncomingServer = imapUrl,
|
||||||
OutgoingServer = smtpUrl,
|
OutgoingServer = smtpUrl,
|
||||||
IncomingServerPort = imapPort.ToString(),
|
IncomingServerPort = imapPort.ToString(),
|
||||||
OutgoingServerPort = smtpPort.ToString(),
|
OutgoingServerPort = smtpPort.ToString(),
|
||||||
IncomingServerType = Enums.CustomIncomingServerType.IMAP4,
|
IncomingServerType = Enums.CustomIncomingServerType.IMAP4,
|
||||||
IncomingServerUsername = imapUsername,
|
IncomingServerUsername = imapUsername,
|
||||||
OutgoingServerUsername = smtpUsername
|
OutgoingServerUsername = smtpUsername,
|
||||||
|
MaxConcurrentClients = 5
|
||||||
};
|
};
|
||||||
|
|
||||||
return serverInfo;
|
return serverInfo;
|
||||||
|
|||||||
@@ -149,7 +149,8 @@ namespace Wino.Views.ImapSetup
|
|||||||
ProxyServer = ProxyServerBox.Text,
|
ProxyServer = ProxyServerBox.Text,
|
||||||
ProxyServerPort = ProxyServerPortBox.Text,
|
ProxyServerPort = ProxyServerPortBox.Text,
|
||||||
Address = AddressBox.Text,
|
Address = AddressBox.Text,
|
||||||
DisplayName = DisplayNameBox.Text
|
DisplayName = DisplayNameBox.Text,
|
||||||
|
MaxConcurrentClients = 5
|
||||||
};
|
};
|
||||||
|
|
||||||
if (UseSameCredentialsForSending)
|
if (UseSameCredentialsForSending)
|
||||||
|
|||||||
Reference in New Issue
Block a user