diff --git a/application/Espo/Services/InboundEmail.php b/application/Espo/Services/InboundEmail.php index 97cfd82033..89261556d7 100644 --- a/application/Espo/Services/InboundEmail.php +++ b/application/Espo/Services/InboundEmail.php @@ -945,7 +945,10 @@ class InboundEmail extends \Espo\Services\Record if ($emailAccount->get('fromName')) { $smtpParams['fromName'] = $emailAccount->get('fromName'); } - if (array_key_exists('password', $smtpParams)) { + if ($emailAccount->get('emailAddress')) { + $smtpParams['fromAddress'] = $emailAccount->get('emailAddress'); + } + if (array_key_exists('password', $smtpParams) && is_string($smtpParams['password'])) { $smtpParams['password'] = $this->getCrypt()->decrypt($smtpParams['password']); } return $smtpParams; diff --git a/client/modules/crm/src/views/meeting/detail.js b/client/modules/crm/src/views/meeting/detail.js index 1475204242..901133e562 100644 --- a/client/modules/crm/src/views/meeting/detail.js +++ b/client/modules/crm/src/views/meeting/detail.js @@ -98,6 +98,12 @@ Espo.define('crm:views/meeting/detail', 'views/detail', function (Dep) { if (!contactIdList.length && !leadIdList.length && !userIdList.length) { show = false; + } else if ( + userIdList.length === 1 && userIdList[0] === this.getUser().id + && + this.model.getLinkMultipleColumn('users', 'status', this.getUser().id) === 'Accepted' + ) { + show = false; } } diff --git a/client/src/views/email/fields/email-address-varchar.js b/client/src/views/email/fields/email-address-varchar.js index 5ade27fbd8..ca7b753908 100644 --- a/client/src/views/email/fields/email-address-varchar.js +++ b/client/src/views/email/fields/email-address-varchar.js @@ -203,10 +203,6 @@ Espo.define('views/email/fields/email-address-varchar', ['views/fields/varchar', }, addAddress: function (address, name, type, id) { - if (name) { - name = this.getHelper().escapeString(name); - } - if (this.justAddedAddress) { this.deleteAddress(this.justAddedAddress); } diff --git a/frontend/less/espo/custom.less b/frontend/less/espo/custom.less index 4bc310ff76..a4ac13b079 100644 --- a/frontend/less/espo/custom.less +++ b/frontend/less/espo/custom.less @@ -1197,6 +1197,10 @@ select[multiple].input-sm { height: 90px !important; } +optgroup { + font-weight: 600; +} + .input-group-btn > select.form-control { position: relative; display: inline-block;