Transport Neutral Encapsulation Format
From Just Solve the File Format Problem
				
								
				(Difference between revisions)
				
																
				
				
								
				Dan Tobias  (Talk | contribs)  | 
			 (added identification section, more sample files, more software)  | 
			||
| Line 9: | Line 9: | ||
It is usually implemented as an attachment called '''winmail.dat''' or '''win.dat''', which Microsoft programs know what to do with, but is a useless and confusing attachment to everybody else (unless they use one of several programs and plugins that have been devised to help non-MS-ers cope with it). When saved elsewhere as archives or samples, sometimes the .tnef file extension is used.  | It is usually implemented as an attachment called '''winmail.dat''' or '''win.dat''', which Microsoft programs know what to do with, but is a useless and confusing attachment to everybody else (unless they use one of several programs and plugins that have been devised to help non-MS-ers cope with it). When saved elsewhere as archives or samples, sometimes the .tnef file extension is used.  | ||
| + | |||
| + | == Identification ==  | ||
| + | Such mail files start with signature bytes {{magic|0x78 0x9f 0x3e 0x22}}.  | ||
== Software ==  | == Software ==  | ||
| Line 15: | Line 18: | ||
* [https://addons.mozilla.org/en-US/thunderbird/addon/lookout/ Lookout]: Thunderbird addon to read TNEF (based on the above TNEF decoder utility)  | * [https://addons.mozilla.org/en-US/thunderbird/addon/lookout/ Lookout]: Thunderbird addon to read TNEF (based on the above TNEF decoder utility)  | ||
* [http://www.eolsoft.com/download/ Winmail Opener]  | * [http://www.eolsoft.com/download/ Winmail Opener]  | ||
| + | * [https://github.com/Yeraze/ytnef ytnef]: TNEF command-line extractor  | ||
== Sample files ==  | == Sample files ==  | ||
* http://libxad.cvs.sourceforge.net/viewvc/libxad/testfiles/MS-TNEF/  | * http://libxad.cvs.sourceforge.net/viewvc/libxad/testfiles/MS-TNEF/  | ||
| + | * https://github.com/koodaamo/tnefparse/tree/master/tests/examples  | ||
== Links and references ==  | == Links and references ==  | ||
* [[Wikipedia:Transport Neutral Encapsulation Format|Transport Neutral Encapsulation Format (Wikipedia)]]  | * [[Wikipedia:Transport Neutral Encapsulation Format|Transport Neutral Encapsulation Format (Wikipedia)]]  | ||
* [http://www.modemhelp.net/newsletter/email/winmaildat.shtml How to turn off winmail.dat attachments]  | * [http://www.modemhelp.net/newsletter/email/winmaildat.shtml How to turn off winmail.dat attachments]  | ||
| + | * [https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxtnef MS-TNEF format specifications]  | ||
[[Category:Microsoft]]  | [[Category:Microsoft]]  | ||
[[Category:File formats with a distinctive filename]]  | [[Category:File formats with a distinctive filename]]  | ||
Revision as of 01:18, 15 June 2022
Transport Neutral Encapsulation Format (TNEF) is a proprietary format used by Microsoft mail software to encode attachments and rich text, instead of more standards-compliant methods such as MIME.
It is usually implemented as an attachment called winmail.dat or win.dat, which Microsoft programs know what to do with, but is a useless and confusing attachment to everybody else (unless they use one of several programs and plugins that have been devised to help non-MS-ers cope with it). When saved elsewhere as archives or samples, sometimes the .tnef file extension is used.
Contents | 
Identification
Such mail files start with signature bytes 0x78 0x9f 0x3e 0x22.
Software
- Fentun: Freeware Windows program to decode this attachment
 - TNEF: An open source TNEF decoder utility
 - Lookout: Thunderbird addon to read TNEF (based on the above TNEF decoder utility)
 - Winmail Opener
 - ytnef: TNEF command-line extractor
 
Sample files
- http://libxad.cvs.sourceforge.net/viewvc/libxad/testfiles/MS-TNEF/
 - https://github.com/koodaamo/tnefparse/tree/master/tests/examples