Home > Microsoft Exchange Tips > Exchange Server Administration Tips > TNEF View: Decipher a WINMAIL.DAT package without using Microsoft Outlook
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

TNEF View: Decipher a WINMAIL.DAT package without using Microsoft Outlook


Serdar Yegulalp
02.07.2006
Rating: --- (out of 5)


Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Please let others know how useful this tip is via the rating scale at the end of it. Do you have a useful Exchange or Outlook tip, timesaver or workaround to share? Submit it to our tip contest and you could win a prize.
VIEW MEMBER FEEDACK TO THIS TIP

Microsoft Outlook and Exchange Server use a special data-encapsulation method called TNEF -- short for Transport Neutral Encapsulation Format -- to send messages across the Internet.

TNEF-encoded messages consist of a plaintext version of the message. They also include a binary attachment called WINMAIL.DAT with any non-plaintext data, which contains a richly-formatted version of the message, any embedded OLE objects, Outlook-specific features, such as custom forms, and conventionally attached files.

Typically, the only way to know what's inside a given WINMAIL.DAT package is to read it through Microsoft Outlook or another client that supports deciphering TNEF.

However, developers and mail administrators who want to decipher a WINMAIL.DAT package can now do so without having to use Outlook, thanks to a third-party program called TNEF View.

TNEF View (free trial available; single-user license is $68) lets you take any WINMAIL.DAT attachment and decode it to reveal its contents. The program does not require Outlook or any other MAPI client application installed to work.

All message bodies, attachments and properties can be deciphered through the program, and can be viewed in a variety of ways: a hex dump, plaintext, RTF (for richly-formatted messages), metadata dump, and a list of all embedded OLE objects. OLE objects can also be extracted and launched from their host applications, if any are present.

In addition to deciphering TNEF messages, the program can also unpack .MSG-formatted files from within MAPI stores. Deciphered messages can be saved to disk, along with all of their attendant components, and the program can also handle the presence of nested attachments (messages inside messages, etc.).

Unfortunately at this time the program has no easy way of extracting message data from messages saved in Outlook Express without some binary-level hacking. (This process is documented in the program's help, however.)

About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter.


MEMBER FEEDBACK TO THIS TIP

If you don't need all the diagnostic data and just want a quick way to get the info out of a WINMAIL.DAT attachment, there are a couple free utilities that we've used that worked fine:

  • AkeeSoft WMViewer for Windows
  • Eolsoft's Winmail Opener
  • There is a Linux utility that does a fine job fine as well:

  • SourceForge.net's TNEF

  • —Rob L.


    Do you have comments on this tip? Let us know.

    Related information from SearchExchange.com:

  • Toolbox for Exchange administrators
  • Our SearchExchange.com experts' favorite freeware
  • Exchange Server scripts and programming tips

  • Rate this Tip
    To rate tips, you must be a member of SearchExchange.com.
    Register now to start rating these tips. Log in if you are already a member.


    Submit a Tip




    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


    RELATED CONTENT
    Exchange Server Administration Tips
    Top 10 Microsoft Exchange Server tips of 2008
    Database changes that enhance Exchange Server 2007 fault tolerance
    How continuous replication methods affect Exchange 2007 log shipping
    Analyzing Exchange ActiveSync data from .CSV report files
    How to run Exchange Management Shell cmdlets in Exchange Server 2007
    Eliminate .PST file use for secure email retention in Exchange 2007
    Exchange Server 2007 log shipping and continuous replication
    Benefits of backing up Exchange Server with Microsoft's DPM 2007
    Exchange Server 2007 replication and database transaction basics
    Microsoft Exchange Server 2003 database recovery methods

    Microsoft Exchange Server Administration Tools
    How to custom-configure a Microsoft Outlook 2007 install using OCT
    Top Exchange Server performance monitoring and troubleshooting tools
    Search and index Microsoft Outlook 2007 public folders
    Executing an .MSP customization file in Microsoft Outlook 2007
    Using the NTBackup tool for Exchange Server backup and recovery
    Tools to bulk modify Active Directory users in Exchange Server 2003
    Free tools keep Microsoft Outlook visible in Windows Vista
    Setting up email disclaimers and signatures in Exchange Server
    Tool deploys customized Microsoft Outlook 2007 configurations
    Third-party Exchange Server 2007 backup and restore tools
    Microsoft Exchange Server Administration Tools Research

    Microsoft Exchange Server Scripts and Programming
    How to run Exchange Management Shell cmdlets in Exchange Server 2007
    Automate complex Exchange 2007 Management Shell tasks via scripting
    Exchange event sink scripting error when configuring email disclaimer
    EMS add-on tool generates graphical Exchange Server 2007 reports
    A primer on the Exchange Server 2007 Exchange Management Shell
    How to generate HTML reports with the Exchange Management Shell (EMS)
    Use the Exchange Management Shell Set command to block senders
    How to test Exchange Management Shell commands
    Grant or deny permissions to access a user's Exchange 2007 mailbox
    Control query results with Exchange Management Shell's Format command

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    Remote Installation Service  (SearchExchange.com)
    TCPMAN  (SearchExchange.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



    Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts