mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-22 23:02:43 +00:00
feat(accounts): Can now add smtp server to auxilliary accounts
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user