• Doesn't process attachments!?

    By Joe Sebastian 2 decades ago

    First of all, the mail-in db is an excellent idea. Before announcing this to my users I wanted to test with some winmail.dat files.

    I had none so I used this Google search (inurl:winmail filetype:dat) to find some. Those all worked, and gave me back a ".rtf" file.



    However, I also found some winmail.dat files on the "Yerase's TNEF Stream Reader" page that contained attachments.

    (samples: http://sourceforge.net/tracker/?atid=533948&group_id=70352&func=browse)



    None of these worked with the JTNEF library embedded in this app, but WMDECODE was able to extract the attachments.

    (WMDECODE: http://www.biblet.freeserve.co.uk/)



    I updated JTNEF to v1.30, and re-ran the tests with the same results. Winmail files containing embedded MS-RTF will convert, but attachments do not convert!

    • I'll check it out

      By Julian Robichaux 2 decades ago

      Joe -



      I'll try running those through the code on my machine and see what happens. I've definitely tested with attachments before, and it worked for the files I tested. It's certainly possible that there are winmail.dat files with attachments in formats that can't be "interpreted" with JTNEF.



      I'll let you know what I find.


      • Julian
      • Something about those files are funny

        By Julian Robichaux 2 decades ago

        Joe -



        It just so happens that I did some initial testing with those very files when I first developed this app. And they worked then, but I just redownloaded and they don't work now.



        It also just so happens that I still have the original files I tested with, and they still work (attachments and all). On the "My Test Winmail.dat File" from the Sourceforge page, the new download file is 8 bytes bigger than it was 6 months ago. The "new" file is identical, just with 8 extra bytes at the end. Without the 8 extra bytes, everything works fine.



        I'm going to send both the old and new files to the JTNEF developer to see if he wants to take a look. In the meantime, you might want to see if you could get an Outlook/Exchange user to generate some files for you and see if those work better.


        • Julian