View Single Post
  #1  
Old September 5th 06, 02:09 PM posted to microsoft.public.windows.inetexplorer.ie6.browser,microsoft.public.windowsxp.general,microsoft.public.windowsxp.help_and_support,comp.mail.mime,microsoft.public.outlook
Tobias Merler
external usenet poster
 
Posts: 1
Default How to extract multiple MIME/base64 inline parts from a *.txt file ?

I have got a *.txt file with lots of (independent) MIME (I think) chunks inside.
They are separated by delimiters like (see bottom of this message).
Originally this file is derived from an unsuccessful delivered/modified eMail.

Is there a tool which helps me to extract the hex encoded pictures (and possible
other attachments e.g. *.pdfs) from this file?

I would appreciate a fault tolerant (if the text file is not complete)
utility onto which I can drag the *.txt file and which automatically recognizes
all MIME chunks inside.

Tobias


Sample.txt:


......

--part1_237.e64e06c.322ecc0f_rel_boundary
Content-ID: X.MA1.3246326326@yahoo@com
Content-Type: image/jpeg; name="ÈçîáðàdDGFDD53.jpg"
Content-Disposition: inline
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAUDBAQEAwUKFGGH7648BwwIBwcHBw8LCwkMEQ8S
EhEPERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEU
Hh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh 4eHh4eHh4eHh4eHh7/wAAR
....

--part1_237.e64e06c.322ecc0f_rel_boundary
Content-ID: X.MA2.3246326326@yahoo@com
Content-Type: image/jpeg; name="ZZZ.jpg"
Content-Disposition: inline
Content-Transfer-Encoding: base64

/9j/4AAQ3247652GHJFGHFABAAD/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8S
EhEPERETFhwXExQaFRERGC324632628fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEU
Hh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh 4eHh4eHh4eHh4eHh7/wAAR
CAFoAeADASIAAhEBAxEB/8QAHwAAAQ253754274284842AAAAAECAwQFBgcICQoL/8QAtRAA
AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBka EII0KxwRVS0fAkM2J
......

--part1_237.e64e06c.322ecc0f_rel_boundary--


Ads