Fixing "reply to" see BT#5316

skala
Julio Montoya 12 years ago
parent 2206abd24f
commit bb78f6d8e7
  1. 2
      main/inc/lib/notification.lib.php

@ -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);
}

Loading…
Cancel
Save