wasm-demo/demo/ermis-f/imap-protocol/cur/1600095088.22862.mbox:2,S

48 lines
2.1 KiB
Plaintext

MBOX-Line: From markrcrispin at live.com Fri Aug 29 06:32:17 2008
To: imap-protocol@u.washington.edu
From: Mark Crispin <markrcrispin@live.com>
Date: Fri Jun 8 12:34:42 2018
Subject: [Imap-protocol] FETCH BODY[...] format..
In-Reply-To: <CSFIY4.25787TTE@memecode.com>
References: <CSFIY4.25787TTE@memecode.com>
Message-ID: <BLU126-W31B921DE3DE7C1D9B33E8CB8630@phx.gbl>
If you can't understand the description in the RFC, take a look at the mtest program in the UW IMAP toolkit. There is a recursive routine that displays the MIME structure from the IMAP BODYSTRUCTURE, including the calculated part codes.
-- Mark --
http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
> Date: Fri, 29 Aug 2008 20:44:38 +1000
> To: imap-protocol@u.washington.edu
> From: fret@memecode.com
> Subject: [Imap-protocol] FETCH BODY[...] format..
>
> Hi All,
>
> I've read the rfc and I can't make out the correct syntax for retreiving just one mime segment of an email. So I'm initially getting the structure of the message via FETCH BODYSTRUCTURE and then I'm hoping to parse that and then download selected segments of the body based on what I find in the BODYSTRUCTURE. What is the method of indexing that works in BODY[<some_index>] ?
>
> e.g. initially I'll be displaying the text/html of the message and not download the attachments. So I need to parse the structure and work out which of those map to the text/html alternatives and so on...
>
> Thanks
> --
> Matthew Allen - Memecode Software
> (http://www.memecode.com)
>
> _______________________________________________
> Imap-protocol mailing list
> Imap-protocol@u.washington.edu
> http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
_________________________________________________________________
Talk to your Yahoo! Friends via Windows Live Messenger. Find out how.
http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20080829/d5527c2b/attachment.html>