Project

General

Profile

Actions

Defect #15793

closed

Problems with recieving emails with attached .msg files

Added by Evgeniy Cn almost 11 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

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

Test issue.msg (38 KB) Test issue.msg Evgeniy Cn, 2014-01-06 11:39
issue.JPG (17.7 KB) issue.JPG Evgeniy Cn, 2014-01-06 11:40

Related issues

Related to Redmine - Defect #8093: Incoming email with internal emails as attachments isn't processed properlyNew2011-04-07

Actions
Actions #1

Updated by Daniel Felix almost 11 years ago

  • Related to Defect #8093: Incoming email with internal emails as attachments isn't processed properly added
Actions #2

Updated by Jean-Philippe Lang almost 11 years ago

Could you post the content of an email fo which you have this problem?

Actions #3

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.

Actions #4

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.

Actions #5

Updated by Toshi MARUYAMA almost 11 years ago

  • Description updated (diff)
Actions #6

Updated by Evgeniy Cn almost 11 years ago

I attached "test issue".msg with other .msg file inside and issue.jpg (that how it looks in redmine, no any attachments).

Actions #7

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.

Actions #8

Updated by Toshi MARUYAMA almost 11 years ago

  • Status changed from Needs feedback to Closed
Actions #9

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...

Actions #10

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.

Actions

Also available in: Atom PDF