Skip to content

EspoCRM – Open Source CRM Application

imap security label fix, port autofill fix

Yuri Kuznetsovc09c1a82985c
diff --git a/application/Espo/Resources/i18n/en_US/EmailAccount.json b/application/Espo/Resources/i18n/en_US/EmailAccount.json
index 4c8e0f7060..f7c692a40a 100644
--- a/application/Espo/Resources/i18n/en_US/EmailAccount.json
+++ b/application/Espo/Resources/i18n/en_US/EmailAccount.json
@@ -42,6 +42,10 @@
"smtpSecurity": {
"SSL": "SSL/TLS",
"TLS": "STARTTLS"
+ },
+ "security": {
+ "SSL": "SSL/TLS",
+ "TLS": "STARTTLS"
}
},
"labels": {
diff --git a/application/Espo/Resources/i18n/en_US/InboundEmail.json b/application/Espo/Resources/i18n/en_US/InboundEmail.json
index 5ce58bf9d3..470d7794f5 100644
--- a/application/Espo/Resources/i18n/en_US/InboundEmail.json
+++ b/application/Espo/Resources/i18n/en_US/InboundEmail.json
@@ -87,6 +87,10 @@
"smtpSecurity": {
"SSL": "SSL/TLS",
"TLS": "STARTTLS"
+ },
+ "security": {
+ "SSL": "SSL/TLS",
+ "TLS": "STARTTLS"
}
},
"labels": {
diff --git a/client/src/views/email-account/record/detail.js b/client/src/views/email-account/record/detail.js
index 43d7b2a441..d266771cff 100644
--- a/client/src/views/email-account/record/detail.js
+++ b/client/src/views/email-account/record/detail.js
@@ -110,7 +110,7 @@ export default class extends DetailRecordView {
return;
}
- if (value) {
+ if (value === 'SSL') {
this.model.set('port', 993);
} else {
this.model.set('port', 143);
diff --git a/client/src/views/inbound-email/record/detail.js b/client/src/views/inbound-email/record/detail.js
index 779df4d490..b446f7d201 100644
--- a/client/src/views/inbound-email/record/detail.js
+++ b/client/src/views/inbound-email/record/detail.js
@@ -266,7 +266,7 @@ export default class extends DetailRecordView {
return;
}
- if (value) {
+ if (value === 'SSL') {
this.model.set('port', 993);
} else {
this.model.set('port', 143);