Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not sending email upon creating new task on 3.4.2 #72

Open
morevalar opened this issue Sep 20, 2017 · 5 comments
Open

Do not sending email upon creating new task on 3.4.2 #72

morevalar opened this issue Sep 20, 2017 · 5 comments

Comments

@morevalar
Copy link

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!

@jperelli
Copy link
Owner

Hi! I'm not using this plugin right now, but I'll accept a pull request to fix this

@ccinos
Copy link

ccinos commented Mar 18, 2018

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

@Pankraty
Copy link

Pankraty commented Jul 5, 2018

the possible solution is to add something like the following after saving the issue

This did not help, unfortunately.

@cafciel
Copy link

cafciel commented Jan 8, 2019

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?

@yzzy
Copy link
Contributor

yzzy commented Jan 9, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants