Project

General

Profile

Actions

Feature #37571

open

Custom email sender per project

Added by Christof Egner about 2 years ago. Updated about 2 years ago.

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

0%

Estimated time:
Resolution:

Description

I need to set a custom email sender per project. There used to be plugins for very old redmine versions, but these don't work with current versions any more:

https://github.com/Warecorp/redmine_project_specific_email_sender
https://github.com/eashman/redmine_author_notification_emails

My current solution is to add a custom mail_from field to projects and patch app/models/mailer.rb like this:

678a679,686
>     # CE: project specific mail from address
>     if @issue
>       new_mail = @issue.project.custom_field_values[0].value
>       if !new_mail.nil?
>         headers.merge!('From' => new_mail)
>       end
>     end
> 

I'm wondering if someting like this could be add to redmine.

Actions #1

Updated by Go MAEDA about 2 years ago

  • Description updated (diff)
Actions #2

Updated by Martina A. about 2 years ago

+1

Actions

Also available in: Atom PDF