Extract and view Outlook contacts attachment sent to Gmail

Posted by matt wilkie on Super User See other posts from Super User or by matt wilkie
Published on 2011-09-15T17:27:25Z Indexed on 2012/11/09 23:06 UTC
Read the original article Hit count: 262

Filed under:
|
|

A friend forwarded a contact list to my gmail account from Outlook (2007 or 2010, not sure which). I can see there is an attachment in gmail but when I save it to my local drive it's just a plain text file containing the text This attachment is a MAPI 1.0 embedded message and is not supported by this mail system.

If I use gmail's "show original message" it contains in part:

This is a multipart message in MIME format.

------=_NextPart_000_0016_01CC6656.CE12F030
Content-Type: text/plain;
    charset="us-ascii"
Content-Transfer-Encoding: 7bit

------=_NextPart_000_0016_01CC6656.CE12F030
Content-Type: application/ms-tnef;
    name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
    filename="winmail.dat"

eJ8+Ih0VAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQgABQAEAAAAAAAAAAAAAQkABAACAAAAAAAAAAEDkAYASAgAACgA

--8<---snip---8<--

GUC/9NKH95rABgMA/g8HAAAAAwANNP0/pQ4DAA80/T+lDvAm

------=_NextPart_000_0016_01CC6656.CE12F030--

How do I

  1. save the attached winmail.dat properly, and
  2. open the winmail.dat and extract the contact list?

I'm running Windows 7 x64, but have access to an ubuntu linux vmware appliance if needed. I have Outlook 2010, but can't use it to connect directly to gmail as pop3 and imap are blocked by the corporate firewall.

© Super User or respective owner

Related posts about outlook

Related posts about gmail