messages: all

ok fetch 1 (body.peek[])
* 1 fetch (body[] {{{
From: user@domain.org
Date: Sat, 24 Mar 2007 23:00:00 +0200
Mime-Version: 1.0
Content-Type: message/rfc822

From: sub@domain.org
Date: Sun, 12 Aug 2012 12:34:56 +0300
Subject: submsg

Hello world

}}})

ok fetch 1 (body.peek[text])
* 1 fetch (body[text] {{{
From: sub@domain.org
Date: Sun, 12 Aug 2012 12:34:56 +0300
Subject: submsg

Hello world

}}})

ok fetch 1 (body.peek[1])
* 1 fetch (body[1] {{{
From: sub@domain.org
Date: Sun, 12 Aug 2012 12:34:56 +0300
Subject: submsg

Hello world

}}})

ok fetch 1 (body.peek[1.1])
* 1 fetch (body[1.1] {{{
Hello world

}}})

ok fetch 1 (body.peek[1.header])
* 1 fetch (body[1.header] {{{
From: sub@domain.org
Date: Sun, 12 Aug 2012 12:34:56 +0300
Subject: submsg


}}})

ok fetch 1 (body.peek[1.header.fields (from subject X-foo)])
* 1 fetch (body[1.header.fields (from subject X-foo)] {{{
From: sub@domain.org
Subject: submsg


}}})

ok fetch 1 (body.peek[1.header.fields.not (from subject X-foo)])
* 1 fetch (body[1.header.fields.not (from subject X-foo)] {{{
Date: Sun, 12 Aug 2012 12:34:56 +0300


}}})

ok fetch 1 (body.peek[1.text])
* 1 fetch (body[1.text] {{{
Hello world

}}})

