TB-throwback / LookOut-fix-version

Fork of LookOut (fix version)
50 stars 16 forks source link

IPM.Microsoft Mail.Note attachment not given any extension #96

Open bertvandepoel opened 1 year ago

bertvandepoel commented 1 year ago

Context

Expected Behavior

A client sent us an email conversation as an attachment using Microsoft Outlook. We would expect that LookOut unpacks the winmail.dat to the usual rtf of the email itself, the image included in the footer, and the email thread our client included as a .eml file that we can then open inside thunderbird.

Current Behavior

LookOut correctly unpacks the winmail.dat to body_part_0.rtf and image001.png, but the actual attachment, an email thread, is just listed as "Untitled attachment". Looking at the source of the file, there's mention of IPM.Microsoft Mail.Note, which is also mentioned in tnef.js. Perhaps attachments of that kind could be given a .eml extension by default?

dugite-code commented 1 year ago

I believe these are not .eml files, but are instead Microsoft's' .msg files. .eml files are plain text where as .msg are not. Additionally the IPM.Microsoft Mail.Note can indicate multiple things, messages, tasks and appointments etc.

Unfortunately IPM.Microsoft Mail.Note decoding is out of the scope of this project at this time.

bertvandepoel commented 1 year ago

Oh weird. Thunderbird had no issue opening it. I saved the attachment, gave it a .eml, and then Thunderbird showed the thread. So it worked just fine for me. Not sure if giving it .msg would work too (I'm not at work right now), but I guess it would.

dugite-code commented 1 year ago

Interesting, I'll have to have another delve into it. As far as I remember we currently have no way of knowing what the extension is supposed to be but it's been a while since I did any work in the tnef.js so I may be wrong