Yeah, watch out for the headers, best place to start. \m/
On Tuesday 02 August 2005 14:41, JM Ibanez wrote: > On 8/2/05, Mhac Janapin <[EMAIL PROTECTED]> wrote: > > Here's the scenario: > > I have an mbox folder containing hundreds of messages with attachments > > (mostly PDFs.) > > Sure I can go and extract them one by one and save it to folder, but I > > think a bash script (even python) would be nice. Especially if I would > > have more of these messages with attachments. > > I could separate the email part from the attachment, but I do not know > > how to make it back to PDF. It's just plain-text. For example, the > > attachment is marked as > > -----=boundary ... > > AXONTECesecehec487ethksahkatehu... > > -----= > > It looks like my mailer encoded the attachment and I have the faintest > > idea how to decode it back to its original form. hehehe... > > > > I tried to search for it (e.g., email standards), but I can't seem to > > narrow down my search. > > > > Any pointers (and flames) are welcome. > > IIRC, email attachments are base64 encoding. Might be wrong, but I do > believe there are several utils out there for extracting that. _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

