[Imap-protocol] question on BODY[n.MIME]?
janssen at parc.com
Thu Mar 8 14:12:32 PST 2007
> The BODY[n.MIME] specification returns the entirety of the MIME part
> mini-header; there is no list of "headers in the mini-header to include
> and header in the mini-header to exclude." Note that MIME-Version is
> normally not in the mini-header.
Ah, my mistake. I interpreted the language in the RFC:
``The MIME part specifier refers to the [MIME-IMB] header for this part.''
to mean that only headers specified in [MIME-IMB] should be returned.
> I'll note that the message is malformed in that
> the TEXT/PLAIN is missing the mandatory CHARSET.
I don't believe it's required by RFC 2045 or 2046, and it's not in the
original message. I don't see a requirement for it in RFC 3501; could
you please cite the reference? Thanks. I'll add it to the server.
On a related subject, the BODYSTRUCTURE requirements for extension
data for a multipart section are a bit unclear to me. If "body
disposition", "body language", and "body location" are not available,
can they be omitted, as I did in my example? If not, should NIL or ""
be used to indicate a null "body location"?
> My suggestion is that you try your server against a known IMAP-clueful
> client (such as Pine or Alpine, hint hint). That way, if there are
> interoperability problems, it is much easier to diagnose.
OK, I'll try that, and report back. My target clients are Apple
Mail and Thunderbird, so I've been working with them in an attempt to
understand their peculiarities.
More information about the Imap-protocol