Feature #5643

Add X-Redmine-Sender header to email notifications

Added by Jean-Jacques Mérillon over 7 years ago. Updated almost 6 years ago.

Status:ClosedStart date:2010-06-05
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Email notifications
Target version:1.4.0
Resolution:Fixed

Description

Hi,

I think it would be great if we could sort mail by sender. For example I want be able to color in light gray mail sent when I do an action on Redmine.

Could you please add X-Redmine-sender header to email notification.

JJay

notification_sender.patch Magnifier (495 Bytes) Jean-Jacques Mérillon, 2010-12-04 22:59


Related issues

Related to Redmine - Feature #5405: change Emission mail address to the operating user New 2010-04-29

Associated revisions

Revision 8785
Added by Jean-Philippe Lang almost 6 years ago

Adds a X-Redmine-Sender header to email notifications (#5643).

History

#1 Updated by Holger Just over 7 years ago

This is already implemented. See source:trunk/app/models/mailer.rb#L345.

An example would be

X-Redmine-Issue-Author: thelogin
X-Redmine-Issue-Id: 5643
Precedence: bulk
X-Redmine-Project: redmine
X-Mailer: Redmine
Auto-Submitted: auto-generated
X-Redmine-Site: Redmine
X-Redmine-Host: www.redmine.org

Using these headers (and the additional ones for the various notification types) you should be able to effectively filter your mail.

#2 Updated by Jean-Jacques Mérillon over 7 years ago

Holger Just wrote:

This is already implemented. See source:trunk/app/models/mailer.rb#L345.

Using these headers (and the additional ones for the various notification types) you should be able to effectively filter your mail.

No, It's not the feature I wish. I want be able to filter on notification sender. For example in the mail I received when you posted a reply to my ticket I unable to see that you are the sender.

I wish a new header like that :

X-Redmine-sender: Holger
X-Redmine-Issue-Author: jjay
X-Redmine-Issue-Id: 5643
Precedence: bulk
X-Redmine-Project: redmine
X-Mailer: Redmine
Auto-Submitted: auto-generated
X-Redmine-Site: Redmine
X-Redmine-Host: www.redmine.org

JJay

#3 Updated by Jean-Jacques Mérillon almost 7 years ago

Hi,

I just added a patch for this feature. It's a really simple patch !

JJay

#4 Updated by Etienne Massip over 6 years ago

  • Target version set to Candidate for next major release

#5 Updated by Terence Mill almost 6 years ago

There is a plugin which can be reused

http://www.redmine.org/plugins/redmine_mail_sender

#6 Updated by Jean-Philippe Lang almost 6 years ago

  • Subject changed from Add X-Redmine-sender header to email notifications to Add X-Redmine-Sender header to email notifications
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version changed from Candidate for next major release to 1.4.0
  • Resolution set to Fixed

Added in r8785. The header is X-Redmine-Sender.

Also available in: Atom PDF