hi,
is there any chance of discourse email in supporting winmail.dat (ie the crap ms exchange sends for email attachments)?
The discussion revolves around whether Discourse should support parsing winmail.dat files—attachments generated by older Microsoft Outlook/Exchange installations using Rich Text Format (RTF). carlokok requests this feature, explaining that winmail.dat bundles attachments in a way that most email clients can’t open, even Outlook itself. codinghorror and sam question the engineering value, noting Outlook should handle its own format, and ask how other major email providers handle it. carlokok concedes it’s a low-priority request, acknowledging the issue stems from external, misconfigured senders. Remah clarifies that Microsoft doesn’t mandate winmail.dat, and that newer Outlook versions default to HTML; they also provide guidance for users to disable RTF in Outlook settings. Remah further explains that Exchange admins can globally disable RTF by adjusting the Remote Domain settings in the Exchange Management Console, setting Exchange rich-text format to Never use. The consensus leans toward users or admins fixing the source (Outlook/Exchange settings) rather than Discourse implementing support, with Remah encouraging adoption of HTML as the future standard. carlokok confirms the real-world problem lies with uncontrolled, poorly configured external senders. The thread ends with no plans to implement winmail.dat support in Discourse.
hi,
is there any chance of discourse email in supporting winmail.dat (ie the crap ms exchange sends for email attachments)?
What do you mean by “support” it?
Unpacking the attachments stored inside winmail.dat (which is how Outlook packs them up, all in 1 file, by default), instead of showing the winmail.dat file as an attachment, which nothing can open.
That doesn’t seem like a worthwhile investment of engineering effort to me? Why can’t Outlook open its own winmail.dat, if it’s the entity creating the file in the first place?
I agree with @codinghorror here, feels to me like outlook is trying to dictate some crazy standard here, how does gmail/proton mail/hotmail handle this ?
Fair enough. It was after all just a request.
Outlook (and Exchange) defaults to what they call “Richtext formatting” and when this is used they tend to send attachments as this file, which is fairly annoying and nothing else seems to be able to open it (even Outlook itself doesn’t respond to winmail.dat, it only decodes mail with that inside it). Feel free to close this.
Microsoft aren’t mandating or standardizing on winmail.dat. I’m sure that it was turned off by default in Outlook when I last installed it. The problem may be with:
There are two settings that can be set in Outlook | File | Options | Mail as shown in the following article:
Yep. the real issue is that incoming mail is usually from a badly configured customer we don’t control.
Most people using Outlook will change their settings if they discover that the recipients of their messages aren’t able to read RTF text that hasn’t been converted to HTML.
Just remind them that the future is HTML. ![]()
As I suspected, most Exchange installations are set to use the client settings. That can be turned off for all users.
Here are the steps to fix it - see Exchange: Mail attachments are turning to winmail.dat « MSExchangeGuru.com
Login to your exchange server
OpenExchange Management Console
Go toOrganization ConfigurationthenHub Transport
Select theRemote Domaintab
Go to theDefault Domainand selectProperties
Select theMessage Formattab
SetExchange rich-text formattoNever useinstead ofDetermined by individual user settings