diff --git a/application/Espo/Core/Mail/Account/GroupAccount/Account.php b/application/Espo/Core/Mail/Account/GroupAccount/Account.php index 6bc69297b3..abaf6aadc3 100644 --- a/application/Espo/Core/Mail/Account/GroupAccount/Account.php +++ b/application/Espo/Core/Mail/Account/GroupAccount/Account.php @@ -267,6 +267,10 @@ class Account implements AccountInterface ->withAuthMechanism($this->entity->getSmtpAuthMechanism()); } + if ($this->entity->getFromName()) { + $smtpParams = $smtpParams->withFromName($this->entity->getFromName()); + } + $handlerClassName = $this->entity->getSmtpHandlerClassName(); if (!$handlerClassName) {