TB-throwback / LookOut-fix-version

Fork of LookOut (fix version)
51 stars 17 forks source link

External .eml files msg.Hdr.folder returns null #112

Open critt74 opened 9 months ago

critt74 commented 9 months ago

Hi, I recently update to Thunderbird 115.5.1 (from 102.15.1) and I update Lookout to 6.1 version. Unfortunately the file winmail.dat is not unpacked and the attachments are not visible. Remove Winmail.dat is not set. Cattura Thank you

dugite-code commented 9 months ago

Hi, please open the Error console (Ctrl+Shift+J) and look for any errors or warnings.

Also is the option Strict Content Type Matching enabled?

critt74 commented 9 months ago

Yes there are errors Cattura

and yes, it is enabled thank you Cristina

dugite-code commented 9 months ago

I'm unable to re-produce this issue, it could be a corruption bug, if you're using IMAP could you try running a repair folder operation?

Right click the folder, Select properties and press the repair folder button

image

critt74 commented 9 months ago

Hi, my folder is not corrupt, I'll explain my problem better. I receive file .eml (externally Thunderbird) from certified e-mail address system (PEC in Italy) and I open this file with Thunderbird. Some time ago with thunderbird 102 and Lookout everything worked fine, I opened the eml file and if winmail.dat was there it was opened, but now it isn't. So today I try to import file .eml in a Thunderbird folder and....it works!! While a single file .eml doesn't run ?

dugite-code commented 9 months ago

Ah I see the issue now. When you open an exported email saved to disk on your computer (in .eml format) in Thunderbird it fails to decode the winmail.dat file. I am able to reproduce now.

When you import that email back into the Thunderbird folder structure it will be able to decode.

Looks like L163 is using msgHdr.folder to fetch the msg URI. As the email isn't in a folder this will always return null