Project

General

Profile

Actions

Feature #247

closed

Notification mail sender is the author and includes project information.

Added by Hans Yoon almost 17 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
Due date:
% Done:

50%

Estimated time:
Resolution:
Wont fix

Description

(1) Like TRAC,
each mail notification has its own header, so it helps mail client filter mails easier.
The mail header is "X-redmine-project".

(2) When mail is notificated, default mail sender is fixed as administrator has defined. With this patch, most of mail
message is sent from event generating user.


Files

mail_sender_project.patch (2.5 KB) mail_sender_project.patch Hans Yoon, 2008-02-03 11:02
mail_from_is_author.tar (10 KB) mail_from_is_author.tar Allow ougoing mail from addr to be author Gary Aitken, 2023-09-05 21:39

Related issues

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

Actions
Related to Redmine - Patch #2406: In email notification, send a email with sender as authorClosed

Actions
Related to Redmine - Feature #14727: Display pretty notification email sender nameClosed

Actions
Actions #1

Updated by Jean-Philippe Lang almost 17 years ago

  • Category set to Email notifications
  • % Done changed from 0 to 50

Headers added in r1265.

Concerning (2), some SMTP servers won't authorize emails with a FROM adress different from the one used for authentication. It could be an option but not the default behaviour.

Actions #2

Updated by Patrik Kullman about 15 years ago

Can these also be used in incoming emails to override Project etc in the header instead of the mail body?

Actions #3

Updated by Ryan Phung almost 15 years ago

Any idea whether (2) can be added as optional behaviour?

It will be a very nice feature, and will allow notification to be done more effectively.

In big project teams, when people receive a lot of email they usually filter their email by sender (for example, give more priority to email sent from the boss, from customers, etc.); it is difficult to make the transitions to using Redmine because one cannot filter his/her messages the same way anymore. To rely on Redmine notifications, one has to read every email.

Actions #4

Updated by Ryan Phung almost 15 years ago

  • Assignee set to Jean-Philippe Lang

Changed "Assigned to" to Jean-Philippe Lang (I hope this mean this patch will be brought to your attention). Apologies if this is not the correct way of doing it.

Actions #5

Updated by Eric Davis almost 15 years ago

  • Assignee changed from Jean-Philippe Lang to Eric Davis

Ryan Phung wrote:

In big project teams, when people receive a lot of email they usually filter their email by sender (for example, give more priority to email sent from the boss, from customers, etc.); it is difficult to make the transitions to using Redmine because one cannot filter his/her messages the same way anymore. To rely on Redmine notifications, one has to read every email.

I have some code that does this already. I'll need to see if I can extract it and make it optional.

Actions #6

Updated by Brenton Cheng over 14 years ago

Hey Eric,

We're very interested in this functionality. Possible to post here? Whatever you've got would be useful.

Thanks!
-Brenton

Actions #7

Updated by Jean-Philippe Lang over 14 years ago

Another option is proposed in #5405. So the Form field could be one the following:

A setting could be added to choose between these 3 options.

Actions #8

Updated by Vladimir Dzalbo over 14 years ago

looks cool.. but the patch is rather outdated...

is that possible to have a similar patch for current trunk?

Actions #9

Updated by Eric Davis about 14 years ago

  • Assignee deleted (Eric Davis)
Actions #10

Updated by Sebastian Paluch about 9 years ago

+1

Actions #11

Updated by Toshi MARUYAMA almost 9 years ago

  • Related to Feature #14727: Display pretty notification email sender name added
Actions #12

Updated by Gary Aitken over 1 year ago

Having the outgoing mail address set to the user making a change rather than the redmine app is useful for us.
Having the user quoted in the From header is a help, but more useful is also having the mail address be the actual user.
I'm attaching a patch (redmine 5.0.1 stable) which accomplishes this, via a checkbox in Admin/Settings/EmailNotifications.

We have tested using postfix set up to map users to gmail accounts.
The patch only includes locale changes to config/locales/en.yml

Actions #13

Updated by Felix Schäfer over 1 year ago

Gary Aitken wrote in #note-12:

Having the outgoing mail address set to the user making a change rather than the redmine app is useful for us.

This will probably not work in the wild due to SPF/DKIM and related checks, or you would need some setup to redirect mails from Redmine to the corresponding provider of each user, which would require having the credentials with the E-Mail provider in your Redmine setup and so on.

It would also break the reply-ability of Redmine notification E-Mails as replying to a Redmine notification would send the reply to the author of the notification instead of to the Redmine installation.

Actions #14

Updated by Go MAEDA over 1 year ago

Felix Schäfer wrote in #note-13:

This will probably not work in the wild due to SPF/DKIM and related checks, or you would need some setup to redirect mails from Redmine to the corresponding provider of each user, which would require having the credentials with the E-Mail provider in your Redmine setup and so on.

Yes, unlike 15 years ago when this issue was created, such emails will not be delivered properly in many cases. I think Redmine should not implement this feature.

FYI: Redmine 4.1.0 and later have a feature that sets user's name to the From field (#5913).

Actions #15

Updated by Gary Aitken over 1 year ago

Felix Schäfer wrote in #note-13:

This will probably not work in the wild due to SPF/DKIM and related checks, or you would need some setup to redirect mails from Redmine to the corresponding provider of each user, which would require having the credentials with the E-Mail provider in your Redmine setup and so on.

As mentioned we use postfix, which does the appropriate redirection for user email, and yes, it does require having some form of email credentials. However, those credentials are in the postfix setup, not in redmine. In any case, one always has to configure their mailer appropriately for use with redmine, and redmine appropriately for their chosen mailer.

It would also break the reply-ability of Redmine notification E-Mails as replying to a Redmine notification would send the reply to the author of the notification instead of to the Redmine installation.

It does not break the reply ability, if one has the reply-to field properly configured.

Go MAEDA wrote in #note-14:

Yes, unlike 15 years ago when this issue was created, such emails will not be delivered properly in many cases.

Could you give an example of where they would not be delivered properly, assuming the mailer used has the proper relay host and credentials? As noted, this is provided as an option, so one could choose to use it or not.

FYI: Redmine 4.1.0 and later have a feature that sets user's name to the From field (#5913).

yes, already noted in my original

Actions #16

Updated by Go MAEDA 9 months ago

  • Tracker changed from Patch to Feature
  • Status changed from New to Closed
  • Resolution set to Wont fix

Felix Schäfer wrote in #note-13:

Gary Aitken wrote in #note-12:

Having the outgoing mail address set to the user making a change rather than the redmine app is useful for us.

This will probably not work in the wild due to SPF/DKIM and related checks, or you would need some setup to redirect mails from Redmine to the corresponding provider of each user, which would require having the credentials with the E-Mail provider in your Redmine setup and so on.

I am closing this issue. Probably the requested feature does not work for the reason described above.

Actions

Also available in: Atom PDF