Do not sending email upon creating new task on 3.4.2
Hi! Recently installed new redmine 3.4.2 and your wonderful plugin. And found that after copying of task there is no announcement email. Can you fix it, please? Thank you!
Hi! I'm not using this plugin right now, but I'll accept a pull request to fix this
the possible solution is to add something like the following after saving the issue
./lib/scheduled_tasks_checker.rb
issue.save!
+ Mailer.deliver_issue_add(issue)
interval = task.interval_number
units = task.interval_units
the possible solution is to add something like the following after saving the issue
This did not help, unfortunately.
the possible solution is to add something like the following after saving the issue
This did not help, unfortunately.
I had the same issue, but found it had to do with the user configuration, not the plugin... Once you set to not send mails when you do your own updates and you create a periodic task where the same person is creator and assignee, no mail will be sent. Maybe someone knows how to bypass this setting for the creation of periodic tasks?
I had the same issue, but found it had to do with the user configuration, not the plugin...
@cafciel thank you for this clarification. You're right, if you set checkbox I don't want to be notified of changes that I make myself no mail will be sent. Bypassing this setting seems inappropriate because mailer functionality lies in the Redmine core and adding there additional parameters specific for this plugin is a game that's not worth the candle. If it's not an security issue for you one possible solution is to create another user (i.e. Redmine Bot) that will be the author of your periodic tasks pointing yourself as assignee.
@jperelli I think this issue should be closed
P.S. ~~In Redmine v4 this solution won't work, plugin source still need to be fixed~~ Fixed by #89