Article View: alt.sys.mac.newuser-help
Article #438Re: Help - how can I decode embeded mulipart mimes in emails/newsgroups?
From: David R Brooks
Date: Sun, 09 Aug 1998 00:00
Date: Sun, 09 Aug 1998 00:00
31 lines
2016 bytes
2016 bytes
goble@kigateway.eastend.com.au (David. E. Goble) wrote: :Hi All; : :I need to be able to decode multi and single emails and newsgroup :postings that have mime coded parts inside the post. : : : for the pc - Free Agent : - Eudora I can't help with the Mac. But Eudora can accept "filters" (Eudora Pro anyway, not sure about the freeware version). These enable you to pass selected messages to a given program. Messages are text files, beginning with a dummy line "From: ???@???". If you can't use filters, just let your program read a Eudoram mailbox file, ie foo.mbx. This is a sequence of messages, delimited as above. I think Agent uses a similar format (it's a Unix standard). Within a message, look first for a "MIME-Version: 1.0" line (version number might vary). This indicates there are MIME headers present. If so, look for line like boundary="---- =_NextPart_000_01BD45EF.BB7B8950" The quoted string is quite arbitrary, & is simply something that doesn't appear anywhere in the message. Such a line now marks off the various segments. (The line is absent if only 1 segment). There is a RFC which gives all the gory details, but I don't have it to hand. -- Dave Brooks <http://www.iinet.net.au/~daveb> PGP public key via <http://www.iinet.net.au/~daveb/crypto.html>, or servers
Technical Details
Message-ID:
<35cd5bf5.1827437@news.m.iinet.net.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35cd137d.0@duster.adelaide.on.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fe136,27839bdd73f694e7 X-Google-Attributes: gidfe136,public X-Google-Thread: 108c83,27839bdd73f694e7 X-Google-Attributes: gid108c83,public From: daveb@iinet.net.au (David R Brooks) Subject: Re: Help - how can I decode embeded mulipart mimes in emails/newsgroups? Date: 1998/08/09 Message-ID: <35cd5bf5.1827437@news.m.iinet.net.au> X-Deja-AN: 379353417 Content-Transfer-Encoding: 7bit References: <35cd137d.0@duster.adelaide.on.net> Content-Type: text/plain; charset=us-ascii Organization: iiNet Technologies Mime-Version: 1.0 Newsgroups: alt.sys.mac.newuser-help,aus.computers