MBOX-Line: From ayluen at i-freelancer.net  Wed Jun 12 19:45:44 2013
To: imap-protocol@u.washington.edu
From: =?utf-8?B?5p2O6Im+5YCr?= <ayluen@i-freelancer.net>
Date: Fri Jun  8 12:34:51 2018
Subject: [Imap-protocol] Question on BODYSTRUCTURE
In-Reply-To: <CAKHUCzy1y+O_vn4R6JhwE5ZoDx6=XtoN13ii+pTSFes8m7-ZfQ@mail.gmail.com>
References: <004101ce6689$2b6b0630$82411290$@i-freelancer.net>
	<CAKHUCzy1y+O_vn4R6JhwE5ZoDx6=XtoN13ii+pTSFes8m7-ZfQ@mail.gmail.com>
Message-ID: <004f01ce67e0$1a14a960$4e3dfc20$@i-freelancer.net>


Hi Dave,

 

I?m still a bit puzzled, hopefully you could help me out.  I was studying a thread posted long time ago.  In that post, Mark corrected a bodystructure response.  

He put 4 NILs in the positions which I thought were for extension data.

 

Here is the thread I was referring to :

 

http://mailman2.u.washington.edu/pipermail/imap-uw/2005-November/000287.html

 

but according to your previous reply, the first non-multipart can look like this :

 

("TEXT" "PLAIN" ("CHARSET" "BIG5") NIL NIL "7BIT" 860 14 NIL)

 

Where the last NIL stands for MD5 (the rest 3 are optional)?

 

 

Thank you for being patient with me, I know my question sounds like a newbie as I?m trying to grasp RFC reading and IMAP little by little?.

 

Helen

 

 

From: Dave Cridland [mailto:dave@cridland.net] 
Sent: Tuesday, June 11, 2013 6:46 PM
To: ???
Cc: IMAP Protocol Interest List
Subject: Re: [Imap-protocol] Question on BODYSTRUCTURE

 

 

 

On Tue, Jun 11, 2013 at 10:50 AM, ??? <ayluen@i-freelancer.net> wrote:

lastly, follow by 4 extension data items : MD5, body disposition, body language, body location

 


No, in the Formal Syntax (and if Mark were still here, he'd be pointing out that the Formal Syntax is essential reading), it says:

 

body-ext-1part  = body-fld-md5 [SP body-fld-dsp [SP body-fld-lang

                  [SP body-fld-loc *(SP body-extension)]]]

                    ; MUST NOT be returned on non-extensible

                    ; "BODY" fetch

 

So implementations can supply only the MD5, for example - but if they supply the location, they must also supply MD5, description, and language first.

 

Dave.


======================================
Powered by Rainbow Mail Server 6.0

?????????????????????????????????????????????????????????????????????????????????????
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. Please consider the environment before printing this email.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20130613/d08736f9/attachment.html>
