Novell Home

Accessing the Goodies in a Mime.822 Attachment

Novell Cool Solutions: Trench
By Tim Dollimore

Digg This - Slashdot This

Posted: 16 Aug 2001
 

Version: GroupWise 5.5

We sometimes receive emails from other companies via our GWIA connection which contain an attachment named "Mime.822". Sometimes the really useful parts of the email are embedded inside this attachment, and haven't been decoded by GroupWise (I don't know why, except maybe GW isn't recognising the content type of application/ms-tnef). It could be that the GWIA isn't configured correctly, but not wanting to fight that battle I looked for another solution.

Here is one way to get access to the useful stuff inside this Mime.822 file. If anyone knows of a simpler method, please let me know.

  1. Save the mime.822 document somewhere easy to find (like C:\).
  2. Open the mime.822 document with notepad (or any raw text editor, Multi-Edit, write.exe and MS-Word will do, so long as you re-save the document as text-only).
  3. Change the tnef content type line inside mime.822 so that Outlook Express can see the attachment. Replace

    "Content-Type: application/ms-tnef"
    with
    "Content-Type: application/ms-tnefx"

  4. Save and close the mime.822 document.
  5. Rename mime.822 as something.eml
  6. Open something.eml with Outlook Express or another Microsoft email product, then save off the now visible attachment as mime.tnf
  7. Use Fentun.exe to decode the tnf file and extract any attachments (such as PDF files).

If anyone is interested in having these steps automated, let me know, and I'll build an app you can drag and drop the mime.822 attachment onto.

If you have any questions you may contact Tim at halogent@ihug.com.au


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell