Project

General

Profile

Feature #23491 ยป mail_from.patch

Roman Belyakovsky, 2016-08-01 23:57

View differences:

app/models/mailer.rb (working copy)
438 438
            'X-Redmine-Site' => Setting.app_title,
439 439
            'X-Auto-Response-Suppress' => 'All',
440 440
            'Auto-Submitted' => 'auto-generated',
441
            'From' => Setting.mail_from,
441
            'From' => "#{User.current.name} <#{Setting.mail_from}>",
442 442
            'List-Id' => "<#{Setting.mail_from.to_s.gsub('@', '.')}>"
443 443

  
444 444
    # Replaces users with their email addresses
    (1-1/1)