HOME

TheInfoList



OR:

Transport Neutral Encapsulation Format or TNEF is a proprietary
email Electronic mail (email or e-mail) is a method of exchanging messages ("mail") between people using electronic devices. Email was thus conceived as the electronic ( digital) version of, or counterpart to, mail, at a time when "mail" mean ...
attachment format used by Microsoft Outlook and
Microsoft Exchange Server Microsoft Exchange Server is a mail server and calendaring server developed by Microsoft. It runs exclusively on Windows Server operating systems. The first version was called Exchange Server 4.0, to position it as the successor to the related ...
. An attached
file File or filing may refer to: Mechanical tools and processes * File (tool), a tool used to ''remove'' fine amounts of material from a workpiece **Filing (metalworking), a material removal process in manufacturing ** Nail file, a tool used to gent ...
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''.


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 An email client, email reader or, more formally, message user agent (MUA) or mail user agent is a computer program used to access and manage a user's email. A web application which provides message management, composition, and reception functio ...
, TNEF encoding cannot be explicitly enabled or disabled (except via a registry setting). 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 Multipurpose Internet Mail Extensions (MIME) is an Internet standard that extends the format of email messages to support text in character sets other than ASCII, as well as attachments of audio, video, images, and application programs. Message ...
standard. When sending
plain text In computing, plain text is a loose term for data (e.g. file contents) that represent only characters of readable material but not its graphical representation nor other objects (floating-point numbers, images, etc.). It may also include a limit ...
or
HTML The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaSc ...
format messages, some versions of Outlook (apparently including Outlook 2000) prefer MIME, but may still use TNEF under some circumstances (for example, if an Outlook feature requires it). TNEF attachments can contain security-
sensitive information Information sensitivity is the control of access to information or knowledge that might result in loss of an advantage or level of security if disclosed to others. Loss, misuse, modification, or unauthorized access to sensitive information can ...
such as user login name and file paths, 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 The Simple Mail Transfer Protocol (SMTP) is an Internet standard communication protocol for electronic mail transmission. Mail servers and other message transfer agents use SMTP to send and receive mail messages. User-level email clients ty ...
server. As documented in Microsoft KBA #323483, 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 Messaging Application Programming Interface (MAPI) is an API for Microsoft Windows which allows programs to become email-aware. While MAPI is designed to be independent of the protocol, it is usually used to communicate with Microsoft Exchange Se ...
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) Geary is a free and open-source email client written in Vala and based on WebKitGTK. Although since adopted by the GNOME project, it originally was developed by the Yorba Foundation. The purpose of this e-mail client, according to Adam Dingle, ...
supports TNEF since version 3.33.1 * TNEF Parse –
Claws Mail Claws Mail is a free and open-source, C/GTK-based e-mail client, which is both lightweight and highly configurable. Claws Mail runs on both Windows and Unix-like systems such as Linux, BSD, and Solaris. It stores mail in the MH mailbox format. ...
plugin * LookOut or its successor LookOut (fix version) –
Mozilla Thunderbird Mozilla Thunderbird is a free and open-source cross-platform email client, personal information manager, news client, RSS and chat client developed by the Mozilla Foundation and operated by subsidiary MZLA Technologies Corporation. The projec ...
extension. See also: ** LookOut project page at MozDev.org ** Bug 77811 – Inline viewer for Microsoft proprietary mail formats, a 21-plus-year-old bug report at the Mozilla
Bugzilla Bugzilla is a web-based general-purpose bug tracking system and testing tool originally developed and used by the Mozilla project, and licensed under the Mozilla Public License. Released as open-source software by Netscape Communications in 199 ...
*
Wireshark Wireshark is a free and open-source packet analyzer. It is used for network troubleshooting, analysis, software and communications protocol development, and education. Originally named Ethereal, the project was renamed Wireshark in May 2006 d ...
– 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 The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end users the four freedoms to run, study, share, and modify the software. The license was the first copyleft for general u ...
TNEF extractor from the
POSIX The Portable Operating System Interface (POSIX) is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems. POSIX defines both the system- and user-level application programming inter ...
command-line, designed specifically for reading winmail.dat * TNEF – GPL TNEF extractor from the POSIX command-line * KTNEF – GPL TNEF extractor by
KDE KDE is an international free software community that develops free and open-source software. As a central development hub, it provides tools and resources that allow collaborative work on this kind of software. Well-known products include the ...


Mac

* Klammer – Shareware for
Mac OS X macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and la ...
, available on App store; also supports MSG files * MailRaider Pro - Application for Mac OS X, available on App store; also supports MSG files * 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 * TNEF's Enough – Freeware decoder for Mac OS 9 and Mac OS X * tnefDD – Free GPL decoder with drag-and-drop functionality for Mac OS X * TNEF –
MacPorts MacPorts, formerly DarwinPorts, is a package manager for macOS and Darwin. It is an open-source software project that aims to simplify the installation of other open source software. It's similar in function to Fink and the BSD ports collection ...
version of the TNEF command-line decoder Mac OS X * Letter Opener (''previously known as OMiC'') – Shareware, plugin for
Apple Mail Apple Mail (officially known as Mail) is an email client included by Apple Inc. with its operating systems macOS, iOS, iPadOS and watchOS. Apple Mail grew out of NeXTMail, which was originally developed by NeXT as part of its NeXTSTEP operati ...


iPhone and iPad

* Winmail File Viewer – Paid universal app for the iPhone, iPod Touch and
iPad The iPad is a brand of iOS and iPadOS-based tablet computers that are developed by Apple Inc. The iPad was conceived before the related iPhone but the iPhone was developed and released first. Speculation about the development, operating ...
to open winmail.dat attachments with option to save and share extracted files * WinMail.dat Viewer - Browse Outlook winmail.dat files – Paid universal app for the iPhone, iPod Touch and
iPad The iPad is a brand of iOS and iPadOS-based tablet computers that are developed by Apple Inc. The iPad was conceived before the related iPhone but the iPhone was developed and released first. Speculation about the development, operating ...
to open winmail.dat attachments with option to view, save and share extracted files * Winmail File Viewer+ – Paid universal app for the iPhone, iPod Touch and
iPad The iPad is a brand of iOS and iPadOS-based tablet computers that are developed by Apple Inc. The iPad was conceived before the related iPhone but the iPhone was developed and released first. Speculation about the development, operating ...
to open winmail.dat attachments with option to save and share extracted files * Klammer - open EML, MSG and Winmail.dat files – Paid universal app for the iPhone, iPod Touch and
iPad The iPad is a brand of iOS and iPadOS-based tablet computers that are developed by Apple Inc. The iPad was conceived before the related iPhone but the iPhone was developed and released first. Speculation about the development, operating ...
with in-app purchase to provide functionality * WinDat Opener – Paid app for the iPhone, iPod Touch and
iPad The iPad is a brand of iOS and iPadOS-based tablet computers that are developed by Apple Inc. The iPad was conceived before the related iPhone but the iPhone was developed and released first. Speculation about the development, operating ...
* Letter Opener – Free Universal app for the iPhone, iPod Touch and
iPad The iPad is a brand of iOS and iPadOS-based tablet computers that are developed by Apple Inc. The iPad was conceived before the related iPhone but the iPhone was developed and released first. Speculation about the development, operating ...
with in-app purchase to provide functionality * TNEF's Enough - Free Universal app for iPhone, iPod Touch, and iPad


Microsoft Windows

* Winmail.dat Reader – Freeware easy-to-use decoder * Winmail Opener – Freeware decoder * tnef2win – Freeware decoder * Free File Viewer – Freeware decoder * fentun – Freeware decoder * Winmail.dat Viewer – modern Windows 8 app (non-free)


Android

* TNEF Extractor – A free and open source (GPLv3) Android app * Opener – A free Android app * Reader - Free Android app also available


Online

* winmail.dat extractor and document converter – Free, in modern, responsive theme * Reader Online – The online version of the Winmail.dat Reader (free) * tud.at service – Web service and
GPL The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end users the four freedoms to run, study, share, and modify the software. The license was the first copyleft for general u ...
licensed
PHP PHP is a general-purpose scripting language geared toward web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in 1995. The PHP reference implementation is now produced by The PHP Group. ...
script for reading attachments in winmail.dat files * www.winmaildat.com – Another online winmail.dat extractor which allows to upload up to 5 MB * the-computer-site.com – converts winmail.dat file to a zip file


Software libraries

* JTNEF –
GPL The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end users the four freedoms to run, study, share, and modify the software. The license was the first copyleft for general u ...
Java TNEF package * POI-HMEF – Java library of the
Apache POI The Apache () are a group of culturally related Native American tribes in the Southwestern United States, which include the Chiricahua, Jicarilla, Lipan, Mescalero, Mimbreño, Ndendahe (Bedonkohe or Mogollon and Nednhi or Carrizaleño and ...
project * MVCOM – Commercial COM component to parse TNEF * Convert::TNEF – TNEF library written in
Perl Perl is a family of two high-level, general-purpose, interpreted, dynamic programming languages. "Perl" refers to Perl 5, but from 2000 to 2019 it also referred to its redesigned "sister language", Perl 6, before the latter's name was offic ...
* tnefparse library – TNEF access library written in
Python Python may refer to: Snakes * Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia ** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia * Python (mythology), a mythical serpent Computing * Python (pro ...
, licensed under LGPL * Aspose Email – Commercial Java and .NET library that can parse and extract TNEF data * EAGetMail Component – Commercial .NET and ActiveX library that can parse and extract TNEF data * node-tnef - NodeJS command line tool/library that can parse and extract TNEF data * libytnef –
GPL The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end users the four freedoms to run, study, share, and modify the software. The license was the first copyleft for general u ...
TNEF extractor library written in C * MimeKit – A .NET MIME creation and parser library with support for TNEF * TNEF Decoder - A PHP Library to extract TNEF{{Cite web , title=github.com/QualityUnit/TNEFDecoder , url=https://github.com/QualityUnit/TNEFDecoder


References


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: *

Windows communication and services Microsoft Office Email