Project

General

Profile

Actions

Feature #23491

closed

Author name in mail from

Added by Roman Belyakovsky almost 8 years ago. Updated over 7 years ago.

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

mail_from.patch (585 Bytes) mail_from.patch Roman Belyakovsky, 2016-08-01 23:57

Related issues

Is duplicate of Redmine - Feature #5913: Authors name in from address of email notificationsClosedGo MAEDA2010-07-20

Actions
Actions

Also available in: Atom PDF