|
|
@ -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'], |
|
|
|