|
|
|
@ -149,7 +149,7 @@ class Notification extends Model { |
|
|
|
|
$extra_headers = array(); |
|
|
|
|
$extra_headers['reply_to']['mail'] = $sender_info['email']; |
|
|
|
|
$extra_headers['reply_to']['name'] = $sender_info['complete_name']; |
|
|
|
|
api_mail_html($name, $user_info['mail'], Security::filter_terms($title), Security::filter_terms($content), $sender_info['complete_name'], $sender_info['email'], $extra_headers); |
|
|
|
|
api_mail_html($name, $user_info['mail'], Security::filter_terms($title), Security::filter_terms($content), $this->admin_name, $this->admin_email, $extra_headers); |
|
|
|
|
} else { |
|
|
|
|
api_mail_html($name, $user_info['mail'], Security::filter_terms($title), Security::filter_terms($content), $this->admin_name, $this->admin_email); |
|
|
|
|
} |
|
|
|
|