{"id":25,"date":"2006-10-06T20:17:17","date_gmt":"2006-10-06T19:17:17","guid":{"rendered":"http:\/\/dalelane.co.uk\/blog\/?p=25"},"modified":"2006-10-09T00:37:04","modified_gmt":"2006-10-08T23:37:04","slug":"winmaildat-grr-damn-outlook","status":"publish","type":"post","link":"https:\/\/dalelane.co.uk\/blog\/?p=25","title":{"rendered":"winmail.dat &#8230; grr&#8230; damn Outlook!"},"content":{"rendered":"<p>I work in a technical service role &#8211; which normally involves customers emailing some error messages, trace or logs to us for analysis. Had a bit of problem with this today, as every file the customer sent &#8211; no matter what it was or how many they had included &#8211; ended up arriving in a single attachment called winmail.dat that we couldn&#8217;t seem to open.<\/p>\n<p>Even using <a href=\"http:\/\/www.sysinternals.com\/Utilities\/Strings.html\" title=\"Mark Russinovich's utility\" target=\"_blank\">strings<\/a>, the files still looked pretty mixed-up, but I could see that the one thing that they all had in common was that they all contained &#8220;IPM.Microsoft Mail.Note&#8221; fairly early on in the file. A Google for this showed that I&#8217;ve not been the first to come across this!<\/p>\n<p>Turns out that Microsoft Outlook uses winmail.dat to preserve formatting information when sending HTML or Rich Text emails. We all use <a href=\"http:\/\/en.wikipedia.org\/wiki\/Lotus_Notes\">Lotus Notes<\/a> at work (and that&#8217;s after a mail server script has had a go at incoming emails to scan attachments and file them somewhere safe). So, we couldn&#8217;t read attachments wrapped in the proprietary Outlook junk. <\/p>\n<p>I found a bunch of different utilities claiming to extract attachments for you, but the one that seemed to do it quickest and easiest was <a href=\"http:\/\/www.biblet.freeserve.co.uk\/\" title=\"WMDecode - freeware download page\">WMDecode<\/a>. <\/p>\n<p>Good use of 5 minutes before I even got to look at the customer&#8217;s problem(!) Sadly, the problem described in the log files took slightly longer to figure out, but that&#8217;s another story \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I work in a technical service role &#8211; which normally involves customers emailing some error messages, trace or logs to us for analysis. Had a bit of problem with this today, as every file the customer sent &#8211; no matter what it was or how many they had included &#8211; ended up arriving in a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-25","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25"}],"version-history":[{"count":0,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/25\/revisions"}],"wp:attachment":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}