71 lines
3.1 KiB
Plaintext
71 lines
3.1 KiB
Plaintext
MBOX-Line: From dave at cridland.net Wed Dec 21 04:20:57 2011
|
|
To: imap-protocol@u.washington.edu
|
|
From: Dave Cridland <dave@cridland.net>
|
|
Date: Fri Jun 8 12:34:47 2018
|
|
Subject: [Imap-protocol] [noob] body[n.header] vs. body[n.mime]?
|
|
In-Reply-To: <7A5C9702-B74C-4AA7-9075-449D07B0435B@mac.com>
|
|
References: <7A5C9702-B74C-4AA7-9075-449D07B0435B@mac.com>
|
|
Message-ID: <3461.1324470057.646971@puncture>
|
|
|
|
On Wed Dec 21 12:05:23 2011, Petite Abeille wrote:
|
|
> For example, what should one return when asked for body[1.2.mime]
|
|
> vs. body[1.2.header]?
|
|
|
|
In this message, I've attached your original message, and this will
|
|
be BODY[2].
|
|
|
|
I'd expect BODY[2.MIME] to be
|
|
|
|
"Content-Type: message/rfc822\r\nContent-Disposition:
|
|
inline\r\nContent-Description: [Imap-protocol] [noob] body[n.header]
|
|
vs.\r\n body[n.mime]?\r\n\r\n"
|
|
|
|
On the other hand, BODY[2.HEADER] will be your message's header (as
|
|
it exists as BODY[HEADER] in the original message I forwarded from my
|
|
INBOX).
|
|
|
|
For reference's sake, BODY[2.1] is your original message text,
|
|
whereas this text is BODY[1].
|
|
|
|
And to complete the example, a FETCH of UID, MODSEQ, ENVELOPE, and
|
|
BODYSTRUCTURE from a draft of this message (ie, the text size of this
|
|
section will have changed) reads:
|
|
|
|
* 55 FETCH (FLAGS (\\Recent \\Draft \\Seen $MDNSent) UID 55 MODSEQ
|
|
(33) ENVELOPE ("Wed, 21 Dec 2011 12:12:30 +0000" "Re: [Imap-protocol]
|
|
[noob] body[n.header] vs. body[n.mime]?" (("Dave Cridland" NIL "dave"
|
|
"cridland.net")) (("Dave Cridland" NIL "dave" "cridland.net"))
|
|
(("Dave Cridland" NIL "dave" "cridland.net")) (("Petite Abeille" NIL
|
|
"petite_abeille" "mac.com")("IMAP Protocol Interest List" NIL
|
|
"IMAP-Protocol" "u.washington.edu")) NIL NIL
|
|
"<7A5C9702-B74C-4AA7-9075-449D07B0435B@mac.com>"
|
|
"<3461.1324469550.264077@puncture>") BODYSTRUCTURE (("TEXT" "PLAIN"
|
|
("DELSP" "yes" "CHARSET" "us-ascii" "FORMAT" "flowed") NIL NIL "7BIT"
|
|
530 15 NIL NIL NIL)("MESSAGE" "RFC822" NIL NIL "[Imap-protocol]
|
|
[noob] body[n.header] vs. body[n.mime]?" "7BIT" 6661 ("Wed, 21 Dec
|
|
2011 13:05:23 +0100" "[Imap-protocol] [noob] body[n.header] vs.
|
|
body[n.mime]?" (("Petite Abeille" NIL "petite_abeille" "mac.com"))
|
|
((NIL NIL "imap-protocol-bounces" "mailman2.u.washington.edu"))
|
|
(("Petite Abeille" NIL "petite_abeille" "mac.com")) (("IMAP Protocol
|
|
Interest List" NIL "IMAP-Protocol" "u.washington.edu")) NIL NIL NIL
|
|
"<7A5C9702-B74C-4AA7-9075-449D07B0435B@mac.com>") ("TEXT" "PLAIN"
|
|
("CHARSET" "US-ASCII") NIL NIL "7BIT" 885 33 NIL NIL NIL) 119 NIL
|
|
("INLINE" NIL) NIL) "MIXED" ("BOUNDARY"
|
|
"3461.1324469550.264010@puncture") NIL NIL))\r\n'
|
|
|
|
Does that help clarify?
|
|
|
|
Dave.
|
|
--
|
|
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
|
|
- acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
|
|
- http://dave.cridland.net/
|
|
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade
|
|
-------------- next part --------------
|
|
An embedded message was scrubbed...
|
|
From: Petite Abeille <petite_abeille@mac.com>
|
|
Subject: [Imap-protocol] [noob] body[n.header] vs. body[n.mime]?
|
|
Date: Wed, 21 Dec 2011 13:05:23 +0100
|
|
Size: 6589
|
|
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20111221/3a30aaa4/attachment.mht>
|