Feature #11212
opensave sender email to issue when mail import and unknown_user=accept no_permission_check=1
0%
Description
We need to see the sender of the email the issue is created on mail import, so we can establish a support line via redmine.
At the moment we only see anonymous for issue author and therefore can't "call" em back. We don't know where the issue came from.
Why not show the sender email, without having a "full" user account?
We don't want to auto create users because all of them will immidiately get mails on any action on their tickets. This is related to the fact we can't configure default settings - see #11211
Furthermore auto creation of user account for support line for "outside" customers will not fit logically toegether when using ldap auth for "internal" project members - i know it works technically, but it feels pitty.
I think saving sender mail to issue body will be also an "option".
Files
Related issues
Updated by Terence Mill about 12 years ago
The problem is that if i set default notification to "Only to things I am assigned to" the auto created user still gets mail for the issue is created for the mail he send. That baffles our customers, because they don't even know of redmine being used and so don't shall to.
Updated by Terence Mill about 12 years ago
An moreover importnat the user even get a mail if he is created with user an password, what is even worse if we only want ldap for authentification
Updated by Maciej Maczynski almost 12 years ago
I had the same problem, and I patched Redmine as follows:
File: redmine/app/models/mail_handler.rb
In the method receive_issue, you will find a line like that:
issue.description = cleaned_up_text_body
After this line, I added the following:
sender_addr = email.from.to_a.first.to_s.strip
issue.description = "Reported by e-mail by [#{sender_addr}]:\n" + issue.description;
This puts sender address at the front of issue description text.
Yes, this is lousy work-around.
The solution, I think, would be a mailer-task option to store sender address together with the issue.
Updated by Jan S over 10 years ago
I've added a little patch that adds a "copy_sender_to_ticket" option to the mail handling. A more advanced patch with further configuration options (e.g. copy mailheaders) would still be interesting but right now this works for me and I wouldn't mind if this would be included right away as one can always further extend this as time goes by.
Updated by Go MAEDA over 9 years ago
- Related to Feature #19545: unknown_user=accept - put email address of sender in description added
Updated by Go MAEDA over 9 years ago
- Related to deleted (Feature #19545: unknown_user=accept - put email address of sender in description)
Updated by Go MAEDA over 9 years ago
- Has duplicate Feature #19545: unknown_user=accept - put email address of sender in description added
Updated by Toshi MARUYAMA over 9 years ago
- Related to Feature #11211: configure default settings for users getting created automatically via email import added
Updated by Go MAEDA over 5 years ago
- Has duplicate Feature #10861: Processing incoming e-mails from anonymus users added
Updated by Go MAEDA over 5 years ago
- Related to Feature #21158: Send E-Mail to Redmine: Copy E-Mail Header into Ticket Note added