diff --git a/main/auth/profile.php b/main/auth/profile.php index abdb09145b..ab3d8fd228 100755 --- a/main/auth/profile.php +++ b/main/auth/profile.php @@ -697,7 +697,20 @@ if ($form->validate()) { $emails = explode(',', $notificationSettings['email']); foreach ($emails as $email) { - api_mail_html('', $email, $subject, $content); + api_mail_html( + '', + $email, + $subject, + $content, + $userInfo['complete_name'], + $userInfo['email'], + [ + 'reply_to' => [ + 'mail' => $userInfo['mail'], + 'name' => $userInfo['complete_name'], + ], + ] + ); } } }