feat(accounts): Can now add smtp server to auxilliary accounts

This commit is contained in:
Hivert Quentin
2024-01-23 14:16:02 +01:00
parent 59bd290d62
commit f0010afef4
13 changed files with 293 additions and 48 deletions

View File

@@ -12,6 +12,7 @@
var vm = this, usesSSO = $window.usesCASAuthentication || $window.usesSAML2Authentication;
this.defaultPort = 143;
this.smtpDefaultPort = 25;
this.defaults = defaults;
this.account = account;
this.maxSize = maxSize;
@@ -30,6 +31,11 @@
else if (this.account.encryption == "ssl")
this.defaultPort = 993;
if (!this.account.smtpEncryption)
this.account.smtpEncryption = "none";
else
this.smtpDefaultPort = 465;
_loadCertificate();
this.uploader = new FileUploader({