MBOX-Line: From tss at iki.fi  Tue Apr  3 17:18:29 2012
To: imap-protocol@u.washington.edu
From: Timo Sirainen <tss@iki.fi>
Date: Fri Jun  8 12:34:48 2018
Subject: [Imap-protocol] Question about FETCH command
In-Reply-To: <4F7B8913.4060308@earthlink.net>
References: <1328732126.32086.140661033971485@webmail.messagingengine.com>
	<201202090820.28260.thomas@koch.ro> <4F337E61.5040702@qbik.com>
	<20120209112411.GB29734@launde.brong.net>
	<4F7B8913.4060308@earthlink.net>
Message-ID: <721CF40F-AE46-4FB5-B248-90BD91DA3941@iki.fi>

On 4.4.2012, at 2.34, Rick Sanders wrote:

> I'm working with an IMAP server which gives errors in response to what seem to me to be valid FETCH commands.
> 
> BODY[HEADER] works but if I try to select any header fields the IMAP says 'command argument error'.
> 
> 1 fetch 1 (BODY[HEADER.FIELDS (MESSAGE-ID)])
> 1 BAD Command Argument Error. 11

The server is broken, but you could try if using BODY.PEEK instead BODY makes any difference (you should most likely be using that in any case).


