Actions
Feature #23491
closedAuthor name in mail from
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Duplicate
Description
This feature was already discussed in #5913 and #2406 is but still missing in the current version. As it's the way github issues notifications I've decided to push this patch.
--- app/models/mailer.rb (revision 15732)
+++ app/models/mailer.rb (working copy)
@@ -438,7 +438,7 @@
'X-Redmine-Site' => Setting.app_title,
'X-Auto-Response-Suppress' => 'All',
'Auto-Submitted' => 'auto-generated',
- 'From' => Setting.mail_from,
+ 'From' => "#{User.current.name} <#{Setting.mail_from}>",
'List-Id' => "<#{Setting.mail_from.to_s.gsub('@', '.')}>"
# Replaces users with their email addresses
Files
Related issues
Actions