You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
would it be possible to use the email subject to identify the project the mail should be added to?
this would be more useful than just one project per user...
The text was updated successfully, but these errors were encountered:
This would definitely be possible. This is a very simple plugin that just makes a small patch to the mail handler where it decides which project to use for the email.
See (in this project): /lib/redmine_incoming_emails/patches/mail_handler_patch.rb
The intent of the plugin is to allow for flexibility of the choice of project on a per user basis.
So if you would like to contribute then you can make the changes and submit a pull request.
I would say that the best way to enable the feature you suggested would be to add an item to the per user drop down list on the configuration screen that says something like '(first word in subject line)' or '(in subject line)'. If this option is selected then, in the mail handler, you could check for this value and inspect the subject line to get the project name. I would also say that there should be some validation here with a fallback to the default project if a valid project could not be determined from the subject line.
would it be possible to use the email subject to identify the project the mail should be added to?
this would be more useful than just one project per user...
The text was updated successfully, but these errors were encountered: