Defect #15793
closedProblems with recieving emails with attached .msg files
0%
Description
If user send email via Outlook with attached .msg file (MS Outlook mail) Redmine will ignore it and add to the issue just text from message-body.
There is the same issue in this topic: #8093
But no respond for one year, any ideas how to fix it ?
Thank you.
Files
Related issues
Updated by Daniel Felix almost 11 years ago
- Related to Defect #8093: Incoming email with internal emails as attachments isn't processed properly added
Updated by Jean-Philippe Lang almost 11 years ago
Could you post the content of an email fo which you have this problem?
Updated by Evgeniy Cn almost 11 years ago
It doesn't metter what kind of content mails has, if it has attached .msg file, this file will not be upload, wihout any error in the logs, just like there is no any attached .msg file at all.
Updated by Jean-Philippe Lang almost 11 years ago
- Status changed from New to Needs feedback
- Assignee set to Evgeniy Cn
I don't have Outlook and can't test this without a sample email, can you post one? I've made a test with the one provided in #8093 and it works fine.
Updated by Evgeniy Cn almost 11 years ago
- File Test issue.msg Test issue.msg added
- File issue.JPG issue.JPG added
I attached "test issue".msg with other .msg file inside and issue.jpg (that how it looks in redmine, no any attachments).
Updated by Jean-Philippe Lang almost 11 years ago
- Resolution set to Cant reproduce
I had to convert you msg to eml so I can load it with rake redmine:email:read
. After that, the issue is properly created with a "Test.eml" attachment.
Updated by Toshi MARUYAMA almost 11 years ago
- Status changed from Needs feedback to Closed
Updated by Jan Catrysse over 2 years ago
This still is an issue.
When outlook adds mail messages as an attachment, it uses this type of headers:
... --_012_342b0886c5894875a2dadf9b72a8b986XXXXXXXXXXXXXXXXX_ Content-Type: message/rfc822 Content-Disposition: attachment; creation-date="Tue, 21 Jun 2022 16:05:12 GMT"; modification-date="Tue, 21 Jun 2022 16:05:12 GMT" Received: from XXXX.XXXXX.LOCAL (192.168.254.15) by ...
and not regular attachments... those parts are not handled correctly.
One should expect the message is attached as an attachment to the issue, and now the system is extracting the attachments from the attached message, but not the message itself.
I suspect this is an issue with the mail gem...
Updated by Jan Catrysse over 2 years ago
I added a very dirty
fix in #8093.
But it would be nice to have this addressed by someone more proficient.