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
# Overrides the create_mail method
def create_mail
# identify Redmine emails easily
headers 'X-Redmine-site' => Setting.app_title
# Removes the current user from the recipients and cc
# if he doesn't want to receive notifications about what he does
if User.current.pref[:no_self_notified]
    (1-1/1)