Project

General

Profile

Patch #830 » redmine_identify_emails_origin.patch

Marc Dequènes, 2008-03-11 12:06

View differences:

app/models/mailer.rb 2008-03-11 11:48:57.000000000 +0100
131 131
  
132 132
  # Overrides the create_mail method
133 133
  def create_mail
134
    # identify Redmine emails easily
135
    headers 'X-Redmine-site' => Setting.app_title
134 136
    # Removes the current user from the recipients and cc
135 137
    # if he doesn't want to receive notifications about what he does
136 138
    if User.current.pref[:no_self_notified]
    (1-1/1)