Feature #37571
Custom email sender per project
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Email notifications | |||
Target version: | - | |||
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.
History
#2
Updated by Martina A. 6 months ago
+1