[GH-ISSUE #682] Handle winmail.dat #443

Open
opened 2026-02-25 21:35:03 +03:00 by kerem · 6 comments
Owner
Originally created by @marclaporte on GitHub (Feb 26, 2023). Original GitHub issue: https://github.com/cypht-org/cypht/issues/682 I have some old emails with this: - https://support.mozilla.org/en-US/kb/what-winmaildat-attachment - https://en.m.wikipedia.org/wiki/Transport_Neutral_Encapsulation_Format Roundcube can read them https://docs.roundcube.net/doc/phpdoc/classes/rcube_message.html#method_tnef_decode
Author
Owner

@marclaporte commented on GitHub (Feb 26, 2023):

https://packagist.org/packages/qualityunit/tnef-decoder

<!-- gh-comment-id:1445384549 --> @marclaporte commented on GitHub (Feb 26, 2023): https://packagist.org/packages/qualityunit/tnef-decoder
Author
Owner

@dumblob commented on GitHub (Feb 27, 2023):

Hm, my first thought is that this is way too specific to implement & maintain for a web MUA. There are plenty web browser extensions which extract the content and automatically import it into e.g. Gmail. Such extensions could be extended (pun intended) to support Cypht.

Or alternatively it could be just part of Cypht wiki listing external tooling like those TNEF decoders/exporters. I will also add one in Python:

https://github.com/delimitry/tnef_data_extractor

<!-- gh-comment-id:1446595920 --> @dumblob commented on GitHub (Feb 27, 2023): Hm, my first thought is that this is way too specific to implement & maintain for a web MUA. There are plenty web browser extensions which extract the content and automatically import it into e.g. Gmail. Such extensions could be extended (pun intended) to support Cypht. Or alternatively it could be just part of Cypht wiki listing external tooling like those TNEF decoders/exporters. I will also add one in Python: https://github.com/delimitry/tnef_data_extractor
Author
Owner

@marclaporte commented on GitHub (Apr 8, 2025):

The above shared link to Roundcube is now 404.

Roundcube added support in 2009:
https://roundcube.net/news/2009/03/10/update-021-released

<!-- gh-comment-id:2785073167 --> @marclaporte commented on GitHub (Apr 8, 2025): The above shared link to Roundcube is now 404. Roundcube added support in 2009: https://roundcube.net/news/2009/03/10/update-021-released
Author
Owner

@marclaporte commented on GitHub (Apr 8, 2025):

I received an email today and Cypht outputs winmail.dat

Thunderbird recommends "The best solution is to contact the message sender and inform them that their copy of Outlook is incorrectly configured as suggested in the Microsoft Support article."
https://support.mozilla.org/en-US/kb/what-winmaildat-attachment

Roundcube handles it well.
https://github.com/roundcube/roundcubemail/blob/master/program/lib/Roundcube/rcube_tnef_decoder.php but license is GPL so we can't easily add to Cypht

Same licensing issue for:
https://packagist.org/packages/qualityunit/tnef-decoder

Horde is LGPL:
https://github.com/horde/Mime_Viewer/blob/FRAMEWORK_6_0/lib/Horde/Mime/Viewer/Tnef.php

At the very least, we should add an error message in Cypht pointing to online resources. Even better is to add support to Cypht.

<!-- gh-comment-id:2785113890 --> @marclaporte commented on GitHub (Apr 8, 2025): I received an email today and Cypht outputs winmail.dat Thunderbird recommends "The best solution is to contact the message sender and inform them that their copy of Outlook is incorrectly configured as suggested in the Microsoft Support article." https://support.mozilla.org/en-US/kb/what-winmaildat-attachment Roundcube handles it well. https://github.com/roundcube/roundcubemail/blob/master/program/lib/Roundcube/rcube_tnef_decoder.php but license is GPL so we can't easily add to Cypht Same licensing issue for: https://packagist.org/packages/qualityunit/tnef-decoder Horde is LGPL: https://github.com/horde/Mime_Viewer/blob/FRAMEWORK_6_0/lib/Horde/Mime/Viewer/Tnef.php At the very least, we should add an error message in Cypht pointing to online resources. Even better is to add support to Cypht.
Author
Owner

@marclaporte commented on GitHub (Sep 1, 2025):

I saw another winmail.dat message in my mailbox the other day. I don't remember how this happened.

Idea: Have a tool/action to scan a mailbox and find them all.

<!-- gh-comment-id:3242034568 --> @marclaporte commented on GitHub (Sep 1, 2025): I saw another winmail.dat message in my mailbox the other day. I don't remember how this happened. Idea: Have a tool/action to scan a mailbox and find them all.
Author
Owner

@marclaporte commented on GitHub (Jan 28, 2026):

I had this today. I received an email with many attachments on a webmail with KolabNow. Then, I moved the email via Cypht (I don't remember if it was to another IMAP account or to Tiki Trackers) and the attachments became winmail.dat. I moved the email back and all was well.

<!-- gh-comment-id:3814371498 --> @marclaporte commented on GitHub (Jan 28, 2026): I had this today. I received an email with many attachments on a webmail with KolabNow. Then, I moved the email via Cypht (I don't remember if it was to another IMAP account or to Tiki Trackers) and the attachments became winmail.dat. I moved the email back and all was well.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#443
No description provided.