How-to guide
How to stop winmail.dat attachments (and open the ones you get)
winmail.dat appears when Outlook sends a message in its own Rich Text format and the recipient’s mail app can’t unpack it. The fix is on the sender’s side. Until then, you can open the file in your browser.
Uses: winmail.dat opener
Why winmail.dat appears
Outlook can write messages as HTML, plain text or Rich Text. Microsoft explains that a Rich Text message is sent in a Microsoft format called TNEF (Transport Neutral Encapsulation Format). If the recipient’s mail system can’t process it, they get the plain text of the message and an attachment named winmail.dat, or sometimes a generic name such as ATT00001.DAT. The files the sender attached are packed inside it.
Outlook unpacks it automatically, so senders never see the problem. Apple Mail on a Mac or iPhone, and many other mail apps, show the package itself. Microsoft also notes that the file can include the sender’s sign-in name and the location of their Outlook data file.
If you received one: open it
- Save the winmail.dat (or ATT…DAT) attachment to your device. On a phone, save it to Files or Downloads.
- Open the winmail.dat opener and choose the file.
- Save the attachments listed, one at a time or all as a .zip. The message text is shown as well.
If you saved the whole e-mail as an .eml file, you can choose that in the opener instead and click Open next to winmail.dat.
The file is read in your browser and never uploaded. Then ask the sender to change the setting below. You can send them a link to this page.
If you send them: change Outlook for Windows (classic)
- Choose File → Options → Mail.
- Under Compose messages, set Compose messages in this format to HTML.
- Under Message format, check that When sending messages in Rich Text format to Internet recipients is set to Convert to HTML format, the default.
- Click OK.
For one message, choose Format Text → HTML while writing it. Outlook replies in the format of the message you reply to, so check the format when replying to a Rich Text message. Some Outlook features still need TNEF: Microsoft lists meeting requests, voting buttons and task requests. Recipients outside Outlook may still get winmail.dat with those.
New Outlook for Windows and Outlook on the web
The new Outlook offers only HTML and plain text, in Settings → Mail → Compose and reply → Message format. Microsoft calls Rich Text a legacy format. If recipients still get winmail.dat, check the organisation’s mail server setting below.
For mail administrators (Microsoft 365 and Exchange)
Exchange decides whether Rich Text goes out as TNEF to other organisations. By default it follows each user’s Outlook setting. To turn it off for everyone:
- Exchange admin center: Mail flow → Remote domains, select Default (or the domain that has the problem), and set Use rich-text format to Never. Rich Text messages are then sent as HTML or plain text.
- PowerShell:
Set-RemoteDomain -Identity Default -TNEFEnabled $false - For one outside contact:
Set-MailContact <address> -UseMapiRichTextFormat Never
Microsoft’s order is: the remote domain setting wins over the contact setting, which wins over Outlook’s own setting. The trade-off: Outlook users outside your organisation then lose what needs TNEF in your messages, such as voting buttons and custom forms.
If something looks wrong
- The winmail.dat holds no attachments. It sometimes carries only the message’s formatting. The opener then shows the text.
- The attachment is called ATT00001.DAT. It is the same kind of package. Choose it in the opener.
- It keeps happening after the sender changed Outlook. Their mail server sends Rich Text as TNEF (the administrator setting above), or the message was a meeting request or had voting buttons.
Frequently asked questions
Is winmail.dat a virus?
No. It is a normal Microsoft format. The files inside are whatever the sender attached, so treat them with the same care as any attachment.
Why do I get winmail.dat from only one person?
Only senders using Outlook’s Rich Text format, through a mail server that sends it as TNEF, produce it. Everyone else sends normal HTML e-mail.
Can I stop winmail.dat on my side?
Not in most mail apps: the package is made by the sender’s Outlook or mail server. You can open each one with the winmail.dat opener, and ask the sender to switch to HTML.
How do I open winmail.dat on an iPhone?
Save the attachment to Files, then open the winmail.dat opener in Safari and choose it. The files inside are listed with a Save button.
Is the file uploaded?
No. Your browser reads winmail.dat on your device, and nothing is sent anywhere.
Tools for this
Sources
We checked these steps against the pages below on 27 October 2026. Apps change, so if a step no longer matches what you see, tell us.
- Microsoft Learn: How message format affects email messages
- Microsoft Support: Change the message format to HTML, Rich Text Format or plain text in Outlook
- Microsoft Learn: TNEF conversion options
- Microsoft Learn: Specify the message format for external recipients to prevent Winmail.dat attachments
- Microsoft Learn: Manage remote domains in Exchange Online
- Microsoft Learn: Set-RemoteDomain









