Transport Neutral Encapsulation Format
Transport Neutral Encapsulation Format or TNEF is a proprietary email attachment format used by Microsoft Outlook and Microsoft Exchange Server. An attached file with TNEF encoding is most often named winmail.dat or win.dat, and has a MIME type of Application/MS-TNEF. The official (IANA) media type, however, is application/vnd.ms-tnef.[1]
Overview
Some TNEF files contain information used only by Outlook to generate a richly formatted view of the message, such as embedded (OLE) documents or Outlook-specific features such as forms, voting buttons, and meeting requests. Other TNEF files may contain files which have been attached to an e-mail message.
Within the Outlook e-mail client, TNEF encoding cannot be explicitly enabled or disabled (except via a registry setting[2]). Selecting RTF as the format for sending an e-mail implicitly enables TNEF encoding, using it instead of the more common and widely compatible MIME standard. When sending plain text or HTML format messages, some versions of Outlook (apparently including Outlook 2000[3]) prefer MIME, but may still use TNEF under some circumstances (for example, if an Outlook feature requires it).[3][4]
TNEF attachments can contain security-sensitive information such as user login name and file paths,[3][4] from which access controls could possibly be inferred.
Exchange Server
Native-mode Microsoft Exchange 2000 organizations will, in some circumstances, send entire messages as TNEF-encoded raw binary independent of what is advertised by the receiving SMTP server. As documented in Microsoft KBA #323483,[5] this technique is not RFC-compliant because these messages have the following characteristics:
- They may include non-ASCII characters outside the 0–127 US-ASCII range.
- The lines in these messages are often too long for transport via SMTP.
- They do not follow the CRLF.CRLF message termination semantics as specified in RFC 821.
Internal communications between Exchange Servers (2000 and later) over SMTP encode the message in S/TNEF (Summary TNEF) format. The conversion between the format needed by the end client on the Internet is performed on the last Hub Transport server before final delivery, and when the Hub Transport role of an Exchange Server is about to deliver the message to a mailbox role server, the message is converted to MAPI format for storage.
S/TNEF differs from TNEF in that it is 8-bit (not 7-bit for TNEF) and does not contain a plain-text portion.
Decoding
Programs to decode and extract files from TNEF-encoded attachments are available on many platforms.
Multiplatform
- Geary (email client) supports TNEF since version 3.33.1
- TNEF Parse – Claws Mail plugin[6]
- LookOut[7] or its successor LookOut (fix version)[8] – Mozilla Thunderbird extension. See also:
- Wireshark – Version 1.2 and later can open and dissect winmail.dat files, although it is not useful as a mail reader
Unix-like or POSIX command-line
- yTNEF – GPL TNEF extractor from the POSIX command-line, designed specifically for reading winmail.dat[11]
- TNEF – GPL TNEF extractor from the POSIX command-line[12]
- KTNEF – GPL TNEF extractor by KDE[13]
Mac
- Klammer – Shareware for Mac OS X, available on App store; also supports MSG files[14]
- MailRaider Pro - Application for Mac OS X, available on App store; also supports MSG files[15]
- Winmail Viewer – Shareware Winmail.dat viewer for Mac OS X 10.6 or later, available on App Store, support open Microsoft Outlook (1997, 2000, 2003, 2007, 2010). Winmail.dat files, can extract and save Winmail.dat attachments[16]
- TNEF's Enough – Freeware decoder for Mac OS 9 and Mac OS X[17]
- tnefDD – Free GPL decoder with drag-and-drop functionality for Mac OS X[18]
- TNEF – MacPorts version of the TNEF command-line decoder Mac OS X[19]
- Letter Opener (previously known as OMiC) – Shareware, plugin for Apple Mail[20]
iPhone and iPad
- Winmail File Viewer – Paid universal app for the iPhone, iPod Touch and iPad to open winmail.dat attachments with option to save and share extracted files[21]
- WinMail.dat Viewer - Browse Outlook winmail.dat files – Paid universal app for the iPhone, iPod Touch and iPad to open winmail.dat attachments with option to view, save and share extracted files[22]
- Winmail File Viewer+ – Paid universal app for the iPhone, iPod Touch and iPad to open winmail.dat attachments with option to save and share extracted files[23]
- Klammer - open EML, MSG and Winmail.dat files – Paid universal app for the iPhone, iPod Touch and iPad with in-app purchase to provide functionality[24]
- WinDat Opener – Paid app for the iPhone, iPod Touch and iPad[25]
- Letter Opener – Free Universal app for the iPhone, iPod Touch and iPad with in-app purchase to provide functionality[26]
- TNEF's Enough - Free Universal app for iPhone, iPod Touch, and iPad[27]
Microsoft Windows
- Winmail.dat Reader – Freeware easy-to-use decoder[28]
- Winmail Opener – Freeware decoder[29]
- tnef2win – Freeware decoder[30]
- Free File Viewer – Freeware decoder[31]
- fentun – Freeware decoder[32]
- Winmail.dat Viewer – modern Windows 8 app (non-free)[33]
Android
- TNEF Extractor – A free and open source (GPLv3) Android app[34]
- Opener – A free Android app[35]
- Reader - Free Android app also available[28]
Online
- winmail.dat extractor and document converter – Free, in modern, responsive theme[36]
- Reader Online – The online version of the Winmail.dat Reader (free)[37]
- tud.at service – Web service and GPL licensed PHP script for reading attachments in winmail.dat files[38]
- www.winmaildat.com – Another online winmail.dat extractor which allows to upload up to 5 MB[39]
- the-computer-site.com – converts winmail.dat file to a zip file[40]
Software libraries
- JTNEF – GPL Java TNEF package[41]
- POI-HMEF – Java library of the Apache POI project[42]
- MVCOM – Commercial COM component to parse TNEF[43]
- Convert::TNEF – TNEF library written in Perl[44]
- tnefparse library – TNEF access library written in Python, licensed under LGPL[45]
- Aspose Email – Commercial Java and .NET library that can parse and extract TNEF data[46]
- EAGetMail Component – Commercial .NET and ActiveX library that can parse and extract TNEF data[47]
- node-tnef - NodeJS command line tool/library that can parse and extract TNEF data[48]
- libytnef – GPL TNEF extractor library written in C[11]
- MimeKit – A .NET MIME creation and parser library with support for TNEF[49]
- TNEF Decoder - A PHP Library to extract TNEF[50]
References
- ↑ "Some Microsoft Media Types for registration". IANA. https://www.iana.org/assignments/media-types/application/vnd.ms-tnef.
- ↑ "When you use Outlook 2007 to send an e-mail message, the recipient of the message sees an attachment that is called Winmail.dat". Microsoft. July 29, 2009. http://support.microsoft.com/kb/958012.
- ↑ 3.0 3.1 3.2 "Description of Transport Neutral Encapsulation Format (TNEF) in Outlook 2000". Microsoft. http://support.microsoft.com/kb/241538.
- ↑ 4.0 4.1 "How e-mail message formats affect Internet e-mails in Outlook". Microsoft. 2005-03-30. http://support.microsoft.com/kb/290809.
- ↑ Microsoft KBA #323483
- ↑ "Claws Mail - Plugins". http://www.claws-mail.org/plugins.php.
- ↑ "LookOut". September 30, 2011. https://addons.mozilla.org/en-US/thunderbird/addon/lookout/.
- ↑ "LookOut (fix version)". https://addons.mozilla.org/en-US/thunderbird/addon/lookout-fix-version/.
- ↑ "mozdev.org - lookout: index". http://lookout.mozdev.org/.
- ↑ "77811 - Inline viewer for Microsoft proprietary mail formats (ms-tnef, etc.) ["winmail.dat""]. https://bugzilla.mozilla.org/show_bug.cgi?id=77811.
- ↑ 11.0 11.1 Yeraze (November 21, 2017). "ytnef: Yeraze's TNEF Stream Reader - for winmail.dat files". https://github.com/Yeraze/ytnef.
- ↑ Simpson, Mark (December 8, 2017). "tnef". https://github.com/verdammelt/tnef.
- ↑ "KTnef". November 15, 2015. http://sourceforge.net/projects/ktnef/.
- ↑ "Klammer on the Mac App Store". https://itunes.apple.com/us/app/klammer-open-msg-winmail.dat/id436780099?mt=12.
- ↑ "MailRaider Pro on the Mac App Store". https://itunes.apple.com/us/app/mailraider-pro/id765096886?mt=12.
- ↑ "Winmail Viewer - Open and Read Winmail.dat Files on the Mac App Store". https://itunes.apple.com/us/app/winmail-viewer/id682272488?mt=12.
- ↑ "Josh Jacob - TNEF's Enough". http://www.joshjacob.com/mac-development/tnef.php.
- ↑ "tnefDD". http://tnefDD.sourceforge.net.
- ↑ (mij@macports.org), Jim Mock. "The MacPorts Project -- Available Ports". http://www.macports.org/ports.php?by=name&substr=tnef.
- ↑ "Letter Opener". Archived from the original on November 2, 2006. https://web.archive.org/web/20061102080739/http://www.restoroot.org/OMiC/.
- ↑ "Winmail File Viewer on the App Store". https://itunes.apple.com/app/winmail-file-viewer/id379500151?mt=8.
- ↑ "WinMail.dat Viewer for OS 10 on the App Store". July 11, 2017. https://itunes.apple.com/us/app/winmail.dat-viewer-browse/id531284520?mt=8.
- ↑ "Winmail Viewer for iPhone and iPad on the App Store". July 12, 2017. https://itunes.apple.com/app/id545262569.
- ↑ "Klammer on the App Store". https://itunes.apple.com/us/app/klammer-open-eml-msg-and-winmail-dat-files/id386777877?mt=8.
- ↑ "WinDat Opener on the App Store". https://itunes.apple.com/us/app/windat-opener/id404795709?mt=8.
- ↑ "Connecting to the iTunes Store.". https://itunes.apple.com/us/app/letter-opener/id395502240?mt=8.
- ↑ "TNEF's Enough" (in en-us). February 2, 2020. https://apps.apple.com/us/app/tnefs-enough/id1059932557.
- ↑ 28.0 28.1 "Winmail.dat Reader - Open winmail.dat files (Freeware)". https://www.winmail-dat.com/.
- ↑ "Winmail Opener - freeware utility for opening winmail.dat and other TNEF-encoded files". https://www.eolsoft.com/freeware/winmail_opener/.
- ↑ Petersen, Frank. "tnef(TO)win, convert mstnef-attachments". https://www.petersen.de/english/tnef2win.
- ↑ "PDF, DOC, DOCX, DAT, BIN, PHP Viewer - FreeFileViewer". http://www.freefileviewer.com.
- ↑ "Welcome to Fentun's Home Page". http://www.fentun.com/.
- ↑ "Get Winmail.dat Viewer - Letter Opener - Microsoft Store". http://apps.microsoft.com/windows/en-US/app/8c40043e-fe17-49eb-98b1-191263f263bf.
- ↑ "Tools / TNEF Extractor · GitLab". https://gitlab.starapps-network.com/tools/tnef-extractor.
- ↑ "Winmail.dat Opener". https://play.google.com/store/apps/details?id=icab.winmail.
- ↑ grapph.com, Milos Wikarski. "Free Online Document Converter". https://doc2any.grapph.com.
- ↑ "Online version - Winmail.dat Reader". https://www.winmail-dat.com/online.php.
- ↑ "MS-TNEF degenerator". https://tud.at/php/tnef/index.php.
- ↑ "www.winmaildat.com". https://www.winmaildat.com.
- ↑ "the-computer-site.com - The Computer Site - Extract Attachments from WINMAIL.DAT files". https://the-computer-site.com/winmail-dat.php.
- ↑ "JTNEF - Java TNEF package". http://www.freeutils.net/source/jtnef/.
- ↑ "POI-HMEF - Java API To Access Microsoft Transport Neutral Encoding Files (TNEF)". http://poi.apache.org/hmef/index.html.
- ↑ "MVCOM - MAPI-Free COM component for Outlook .pst, .msg, .ost.". http://www.encryptomatic.com/mvcom/.
- ↑ "Convert::TNEF - Perl module to read TNEF files - metacpan.org". https://metacpan.org/module/Convert::TNEF.
- ↑ "tnefparse: a TNEF decoding library written in python, without external dependencies". October 18, 2017. https://github.com/koodaamo/tnefparse.
- ↑ Sheikh, Farrukh. "Outlook Alternative - Email APIs for .NET Java Android SharePoint Cloud". https://www.aspose.com/products/email.
- ↑ "IMAP4 Component, POP3 Component, Email Parser for C#, VB, C++, Delphi - Retrieve Email, Parse Email, Decrypt Email, S/MIME, Parse winmail.dat, TNEF, Parse Outlook Msg, SSL, TLS". https://www.emailarchitect.net/eagetmail.
- ↑ Murphy, John. "node-tnef". https://www.npmjs.com/package/node-tnef.
- ↑ "MimeKit.Tnef Namespace". http://www.mimekit.net/docs/html/N_MimeKit_Tnef.htm.
- ↑ "github.com/QualityUnit/TNEFDecoder". https://github.com/QualityUnit/TNEFDecoder.
External links
- Specification:
- "M-OXTNEF: Transport Neutral Encapsulation Format (TNEF) Data Algorithm" - MS-TNEF format specifications
- Microsoft Support:
- "How e-mail message formats affect Internet e-mails in Outlook" - How to disable TNEF in Outlook 2002 and 2003
- "Description of Transport Neutral Encapsulation Format (TNEF) in Outlook 2000" - How to disable TNEF in Outlook 2000
- "How to configure Internet e-mail message formats at the user and the domain levels in Exchange Server 2003" - Includes instructions on disabling TNEF
- Other:
Original source: https://en.wikipedia.org/wiki/Transport Neutral Encapsulation Format.
Read more |