If sender info is set, then setup as a "reply-to" see BT#14771

pull/2650/head^2
Julio Montoya 6 years ago
parent 9eab635183
commit 6c80076595
  1. 3
      main/inc/lib/notification.lib.php

@ -303,8 +303,7 @@ class Notification extends Model
case self::NOTIFY_INVITATION_AT_ONCE: case self::NOTIFY_INVITATION_AT_ONCE:
case self::NOTIFY_GROUP_AT_ONCE: case self::NOTIFY_GROUP_AT_ONCE:
$extraHeaders = []; $extraHeaders = [];
$noReply = api_get_setting('noreply_email_address'); if (isset($senderInfo['email'])) {
if (empty($noReply) && isset($senderInfo['email'])) {
$extraHeaders = [ $extraHeaders = [
'reply_to' => [ 'reply_to' => [
'name' => $senderInfo['complete_name'], 'name' => $senderInfo['complete_name'],

Loading…
Cancel
Save