Project

General

Profile

Add users to project users from email rake.

Added by Chad West over 9 years ago

I don't know what I did but at some point users stopped getting notifications unless they were project users. So I need to find the rake command for adding users to the project user list upon receiving emails. Currently using a cron job to retrieve emails:

/usr/local/rvm/gems/ruby-1.9.3-p545/bin/rake /var/www/html/redmine/lib/tasks/email.rake redmine:email:receive_imap RAILS_ENV="production" host=mail.domain.com port=993 username=username ssl=true password=password unknown_user=create no_permission_check=1 project=Emails allow_override=tracker,priority

Also no errors and emails send/receive as normal.

Thanks.

Environment:
  Redmine version                2.5.1.stable
  Ruby version                   1.9.3-p545 (2014-02-24) [i686-linux]
  Rails version                  3.2.17
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.6.11
  Git                            1.7.1
  Filesystem
Redmine plugins:
  clipboard_image_paste          1.8
  projects_tree_view             0.0.8
  quick_view                     0.0.3
  redmine_contacts               3.2.17
  redmine_contacts_invoices      3.1.4
  redmine_custom_workflows       0.0.4
  redmine_dmsf                   1.4.8 stable
  redmine_improved_searchbox     0.0.3
  redmine_incoming_emails        0.0.1
  redmine_issue_checklist        2.0.5
  redmine_knowledgebase          3.0.4
  redmine_login_audit            0.1.5
  redmine_logs                   0.0.5
  redmine_monitoring_controlling 0.1.1
  redmine_people                 0.1.8
  redmine_silencer               0.4.0
  redmine_zenedit                0.0.2
  unread_issues                  0.0.1