diff --git a/application/Espo/Tools/Email/SendService.php b/application/Espo/Tools/Email/SendService.php index de540bf95f..5f2139d25f 100644 --- a/application/Espo/Tools/Email/SendService.php +++ b/application/Espo/Tools/Email/SendService.php @@ -387,7 +387,7 @@ class SendService return [null, null]; } - $smtpParams->withFromName($user->getName()); + $smtpParams = $smtpParams->withFromName($user->getName()); return [$smtpParams, $personalAccount]; }