Actions
Defect #32003
openProject copy always send email notifications ignoring "Send email notifications during the project copy" option
Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
When copying a project in the projects list(Administration > Projects), you can disable sending an email by unchecking the "Send email notifications during the project copy" checkbox.
However, even if this checkbox is unchecking, email notifications are sent.
Files
Updated by Go MAEDA about 5 years ago
- Subject changed from When copying a project, send an email even if email notification is not required to Project copy always send email notifications ignoring "Send email notifications during the project copy" option
- Category set to Email notifications
- Status changed from New to Confirmed
- Affected version set to 4.0.0
The option does not work since Redmine 4.0.0. Probably it is caused by #26791. Replacing deliver_later
with deliver
in app/models/mailer.rb
can be a quick-and-dirty workaround.
Updated by Pavel Rosický about 5 years ago
this method is problematic and should be deprecated because it can't reliably work with async deliveries https://github.com/redmine/redmine/blob/master/app/models/mailer.rb#L611
it might be better not to generate emails at all if you don't want to send them
Actions