LookOut-fix-version icon indicating copy to clipboard operation
LookOut-fix-version copied to clipboard

LookOut fails on opening attachments from given sender

Open WLR86 opened this issue 6 months ago • 2 comments

LookOut extension version 6.6 fails to open winmail.dat and exits, returning "parts is null" (tnef.mjs:1358) tested using multiple version of TB (Mac, PC) and also the latest TB 139.0.2 64bit on PC Win 10

I can provide (privately, indeed) specific eml files reproducing the issue.

WLR86 avatar Jun 27 '25 12:06 WLR86

@WLR86 typically when I see "parts is null" it means the email is corrupted or formatted in an odd way. I unfortunately no longer accept email samples from the internet.

Are you able to provide further logs?

Also can you try using another TNEF parsing library? https://github.com/koodaamo/tnefparse

Or the age old: https://www.systutorials.com/docs/linux/man/1-tnef/

dugite-code avatar Jul 28 '25 10:07 dugite-code

I do believe there's a formatting issue on the sender's side : one of the invited contacts is not properly formatted and causes the problem, preventing LookOut to process the winmail.dat file.

I made a test branch and added a test on parts so if it's null, operations that would fail are simply skipped : LookOut then show correctly the attachments - although ICS file is not processes as an invitation as it should.

Regarding logs, I'll see what I can get

Also I'll give the other TNEF library a try - thanks

WLR86 avatar Jul 28 '25 14:07 WLR86