What is a Winmail.dat File And Why Only the Sender Can Stop It
Outlook picks a message format per recipient rather than per message, which is why the same sender reaches ninety nine people cleanly and one badly.
A winmail.dat is not a file anybody meant to send. It is what a mail client shows when a message arrives wrapped in Microsoft packaging that the client cannot open. The attachments the sender chose are usually inside it. Nothing the recipient does will stop the next one arriving.
Almost everybody who searches for an answer here is on the receiving end. The cause sits entirely on the sending side. So there are two jobs rather than one. Getting your attachments out is available to you. Making it stop is not. Knowing which is which saves a great deal of time. Unlike the formats people are usually handed, this one arrives without anybody choosing to create it.
What Is Actually in the File
Outlook has features that ordinary internet mail has no field for. Voting buttons, meeting request details, embedded objects, Rich Text formatting that goes beyond what HTML carries. Underneath they are MAPI properties, the same kind Outlook stores against every message it holds. Rather than drop them, Outlook packages the whole lot into one binary block and attaches it.
Microsoft calls that packaging Transport Neutral Encapsulation Format. The same thing appears in Microsoft documentation as Outlook Rich Text Format and as Exchange Rich Text Format, which is worth knowing when a support article seems to be discussing something else. The file it produces is named winmail.dat, occasionally win.dat. It travels alongside a plain text version of the message, inside what is otherwise an ordinary EML that any client can parse.
What Goes Into the Package
- Every attachment the sender added
- Rich Text formatting and inline images
- The sender's formatted signature
- Voting buttons and meeting details
What the Recipient Sees
- A plain text message with the formatting gone
- One attachment called winmail.dat
- No sign of the documents that were sent
- No indication anything is retrievable
Nobody inside the Microsoft world sees any of this. Every version of Outlook unpacks the package on arrival. Outlook on the web, which people still call Outlook Web App, goes further and translates it back into MAPI properties before rendering the message properly. Gmail, Apple Mail and Thunderbird have no idea what to do with it. That split is why a sender can produce these for months without knowing. Nobody inside the organisation sees a problem and nobody outside it mentions one.
Why It Happens to One Person And Not Another
Nothing about this feels predictable from the outside. It becomes predictable the moment you know where Outlook looks.
Outlook does not pick a message format per message. It picks per recipient, checking more than one place as it goes. Microsoft sets out the order plainly. The general setting everybody adjusts first is the one that loses.
-
Contact recordHighest priorityA format saved against that person in your address book, often set years ago and never looked at since -
Autocomplete cacheAlso outranks the defaultThe entry that appears as you type an address remembers a format alongside it -
Organisation policySet by the mail administratorExchange and Microsoft 365 decide whether Rich Text may leave for a given external domain at all -
General settingLowest priorityFile then Options then Mail. The first thing anybody changes, overridden by all three above
Meeting invitations have a setting of their own. An invitation can arrive as winmail.dat even when everything above is set correctly, because calendar items follow a separate rule. File then Options then Calendar has an option to use iCalendar format for external recipients. It needs turning on separately.
Replying can reintroduce it on its own. A reply to a message that came in as Rich Text tends to go back out the same way, whatever the default says. So a thread can run cleanly for weeks and then produce the file the moment somebody replies to the wrong message in it.
Why the Recipient Cannot Fix It
Every decision described above is made before the message leaves the sending organisation. By the time it reaches an inbox the packaging is already applied.
The default was supposed to prevent this. Microsoft documents Exchange as converting these messages to HTML for external recipients unless told otherwise. So a winmail.dat arriving is not the ordinary outcome of Rich Text. It means something overrode a setting that exists precisely to stop it, which is why the fix is a search for what overrode it rather than a single switch.
| Who | Can unpack an arrival | Can prevent the next one |
|---|---|---|
| The recipient | Yes, with software that reads the format | No |
| The recipient's mail provider | Sometimes, if it unpacks in transit | No |
| The sender | Not relevant, they see it correctly | Yes, in their own settings |
| The sender's mail administrator | Not relevant | Yes, for the whole organisation |
The middle column and the right column belong to different people. That is the whole difficulty. It also explains why the search everybody runs returns advice written for somebody else.
The mail server is not the cause. Standards compliant servers relay what they are handed and change nothing about it. Hosting providers spend a fair amount of time explaining this, because the recipient blames their own provider and the provider had no part in it.
How to Prove Where the Problem Is
One check settles it in less time than the conversation about whose fault it is.
Open the original source of the message rather than the message itself. Every mail client offers this somewhere, usually as view source or show original.
Content-Type: multipart/mixed;
boundary="----_=_NextPart_001_01D8"
Content-Type: text/plain; charset="us-ascii"
[the message, stripped of formatting]
Content-Type: application/ms-tnef; name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="winmail.dat"
The part typed application/ms-tnef is the answer. Where that appears, the packaging was applied upstream. No configuration at the receiving end put it there.
What Each Side Should Actually Do
The two jobs are different, so it helps to know which one you are doing.
If you received one
Getting your attachmentsread the file with a
TNEF capable tool
extract the attachments
keep the plain text body
tell the sender, once
This recovers what was sent. It changes nothing about the next message from the same person.
If you sent one
Stopping it recurringset the default to HTML
clear the autocomplete
entry for that person
check their contact record
ask the mail admin about
the domain policy
All four, in that order. Changing only the default is why the problem so often survives the first attempt. Zipping the attachments changes nothing, since the wrapper goes around the zip too.
For a whole organisation there is one switch. An administrator can set rich text to never for external domains, which stops the file regardless of what any individual saved against a contact. That is the fix that holds when hundreds of contact records cannot be audited one by one.
Set-RemoteDomain -Identity Default -TNEFEnabled $false
Get-RemoteDomain -Identity Default | Select TNEFEnabled
confirms it applied
Set-MailContact -Identity "name" -UseMapiRichTextFormat Never
for one stubborn contact rather than the whole domain
The same thing is available without PowerShell. Exchange Admin Center, then Mail flow, then Remote domains, then Default, where the rich text setting offers Never.
Read next What is a PST File And What Outlook Actually Stores in It The Outlook surplus this wrapper exists to carry, seen where it lives.Why the Problem Is Slowly Solving Itself
The format is on its way out at the client end. New Outlook for Windows offers no Rich Text option at all. Neither does Outlook on the web, so anybody composing in either one cannot produce this however their contacts are stored.
What remains is classic Outlook, where the option is still present and still the default for anyone whose settings were carried forward from an older install. That is a shrinking population rather than a stable one, which means the volume of these files is falling on its own.
Shrinking is not the same as gone. The senders still producing them are the ones on long lived installs with contact records dating back years, which is exactly the profile of an established business writing to its customers. The problem is getting rarer and more concentrated at the same time.
How It Compares With MSG
TNEF is a wrapper rather than a storage format, which puts it in a different category from the files people usually mean by a mail format.
| MSG | TNEF | |
|---|---|---|
| What it wraps | A message saved to disk | A message in transit |
| Who creates it | Somebody choosing to save | Outlook, without being asked |
| Who receives it | Whoever was handed the file | Anybody the sender writes to |
| Reaches you as | A file with a name you recognise | A file called winmail.dat |
| Fixable at your end | Yes, it is already yours | No |
Both exist because Outlook holds more about a message than internet mail was built to carry. Both solve that by packaging the surplus in a Microsoft specific form. The difference in the last row is what makes MSG an inconvenience and TNEF an argument between two organisations.
Reading the contents without Outlook is a parsing problem rather than a mail problem. Our viewers handle it on your own machine, which matters when the file arrived from outside and nobody wants to upload it anywhere. Where the attachments then have to end up somewhere organised, the converters take that leg.
Setting precedence and message format behaviour checked against Microsoft Learn documentation and Microsoft answers threads from 2025 and 2026, in August 2026.
Questions People Ask
7 questions, all answered in full on this page.Can I stop winmail.dat arriving?
Not from your side. Every setting that decides whether the file is created sits on the sending machine or the sending organisation, so nothing in your own client prevents the next one. You can unpack the ones that arrive. Stopping them is a conversation with the sender.
Are my attachments actually inside the file?
Usually yes, along with the formatting the sender saw. Outlook puts them inside the wrapper rather than sending them separately, already encoded the way any attachment is, which is why a message that should have carried three documents arrives carrying one file nobody can open. A tool built for the format pulls them back out intact.
Why does it only happen with some people?
Because Outlook decides per recipient rather than per message. A format stored against one contact or sitting in the autocomplete cache beats the general setting, so the same sender can reach a hundred people cleanly and produce the file for one of them without changing anything.
Is my mail server to blame?
No. A standards compliant server passes along what it was handed. The packaging went on before the message ever left the sending organisation. Hosting providers field this question constantly and the answer never changes.
How do I prove it is TNEF and not something else?
Open the original source and search it for ms-tnef. A part carrying that type is only ever written by the sending side, so finding it ends the argument about whose end the trouble is at. It takes about as long as reading this answer.
I changed my Outlook setting and it still happens. Why?
Because the general setting sits at the bottom of the order. A format saved against the contact record beats it. So does the entry behind that name in the autocomplete list. Clear the cached entry, open the contact record, then send a fresh test to the same person.
Does winmail.dat mean the message is dangerous?
Not in itself. It is a packaging format rather than a sign of anything malicious. Treat what comes out of it exactly as you would treat any attachment from that sender, which means the usual care rather than extra alarm.
Sources
Where the figures and behaviour described above were checked.
- How Message Format Affects Email Messages Microsoft Learn
- Emails sent from Outlook arrive as winmail.dat attachment Microsoft Q and A, September 2025
- Why are some of my recipients receiving winmail.dat Microsoft Q and A, January 2026
- TNEF conversion options Microsoft Learn, Exchange
- How to specify the message format for external recipients Microsoft Learn, Exchange
- Transport Neutral Encapsulation Format Wikipedia