Transport Neutral Encapsulation Format

From Wikipedia, the free encyclopedia

Transport Neutral Encapsulation Format or TNEF is a proprietary e-mail attachment format used by Microsoft Outlook and Microsoft Exchange Server. An attached file with TNEF encoding is most usually called winmail.dat or win.dat and has a MIME type of Application/MS-TNEF.

Contents

[edit] Overview

Some TNEF files only contain information used 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 email client TNEF encoding cannot be explicitly enabled or disabled. Selecting RTF as the format for sending an e-mail implicitly enables TNEF encoding, using it in preference to the more common and widely compatible MIME standard. When sending plain-text or HTML format messages, Outlook uses MIME.

TNEF attachments can contain security-sensitive information such as user login name and file paths[1], from which access controls could possibly be inferred.


[edit] Decoding

Programs to decode and extract files from TNEF-encoded attachments are available on many platforms.

[edit] RFC Compliance

Native-mode Microsoft Exchange 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, 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 do not have to be short enough for SMTP transport.
  • They do not follow the CRLF.CRLF line termination semantics as specified in Request for Comments (RFC) 821.


[edit] Multiplatform

[edit] Posix

  • yTNEFGPL TNEF extractor from the POSIX command-line, designed specifically for reading winmail.dat
  • TNEFGPL TNEF extractor from the POSIX command-line
  • KTNEFGPL TNEF extractor for KDE
  • fentun Freeware decoder

[edit] Mac

[edit] MS Windows

[edit] Online

  • tud.at service — Web service and GPL licensed PHP script for reading attachments in winmail.dat files
  • 62nds — Online winmail.dat attachment extractor
  • www.winmaildat.com - Another online winmail.dat extractor which allows to upload up to 5MB

[edit] Software libraries

[edit] References

  1. ^ How e-mail message formats affect Internet e-mails in Outlook. Microsoft (2005-03-30). Retrieved on 2006-10-13.

[edit] External links

Languages