Share via


2.2.34 [RFC3501] Section 6.4.5, FETCH Command

V0052:

The specification states: "There are three macros which specify commonly-used sets of data items, and can be used instead of data items."

Microsoft Office Outlook 2007, Microsoft Outlook 2010, Microsoft Outlook 2013, Microsoft Outlook 2016, Microsoft Outlook 2019, Microsoft Outlook 2021, Microsoft Outlook LTSC 2024, Microsoft Outlook for Windows (new)

Outlook does not use these macros.

V0053:

The specification defines BODY[<section>] <<partial>> as one of the data items that can be fetched.

Office Outlook 2007, Outlook 2010, Outlook 2013, Outlook 2016, Outlook 2019, Outlook 2021, Outlook 2024 LTSC

Outlook does not issue a FETCH command with the BODY[<section>] <<partial>> data item. The data items that Outlook can fetch are specified in V0054 and V0055 in this section.

Outlook for Windows (new)

Outlook does not issue FETCH commands using BODY.

V0054:

The specification defines BODY.PEEK[<section>] <<partial>> as one of the data items that can be fetched, where <section> is a set of zero or more part specifiers delimited by periods. The specification defines a part specifier as either a part number or one of the following: HEADER, HEADER.FIELDS, HEADER.FIELDS.NOT, MIME, and TEXT.

Office Outlook 2007, Outlook 2010, Outlook 2013, Outlook 2016, Outlook 2019, Outlook 2021, Outlook 2024 LTSC

Outlook uses either the HEADER part specifier or zero part specifiers; Outlook does not use a part number and does not use <partial>. Therefore, the BODY.PEEK data item has the following forms in an Outlook fetch:

  • BODY.PEEK[]

  • BODY.PEEK[HEADER]

Outlook for Windows (new)

Outlook uses HEADER, HEADER.FIELDS, section, or zero part specifiers with BODY.PEEK.

V0055:

The specification defines data items that can be fetched.

Office Outlook 2007, Outlook 2010, Outlook 2013, Outlook 2016, Outlook 2019, Outlook 2021, Outlook 2024 LTSC

Outlook issues a FETCH command with data items as follows. For more details about the BODY.PEEK data item, see V0054 in this section.

To all servers:

  • (UID)

  • (UID  FLAGS)

Only to IMAP4 servers that do not send "IMAP4rev1" as a listed capability in a CAPABILITY response as specified in [RFC3501] section 6.1.1:

  • (UID  FLAGS  RFC822.SIZE  RFC822.HEADER  INTERNALDATE)

  • (UID  FLAGS  RFC822)

  • (UID  FLAGS  RFC822.SIZE  RFC822.HEADER)

  • (UID  FLAGS  RFC822.PEEK)

Note: The RFC822.PEEK data item was obsoleted by [RFC2060]. However, Outlook still uses the RFC822.PEEK data item, as specified here.

Only to IMAP4 servers that send "IMAP4rev1" as a listed capability in a CAPABILITY response:

  • (UID  FLAGS  RFC822.SIZE  BODY.PEEK[HEADER]  INTERNALDATE)

  • (UID  FLAGS  BODY.PEEK[])

  • (UID  FLAGS  RFC822.SIZE  BODY.PEEK[HEADER])

  • (UID  FLAGS  BODY.PEEK[])

Outlook for Windows (new)

Outlook will issue FETCH commands for several different types of data depending on what it needs, including the UID, FLAGS, RFC822.SIZE, INTERNALDATE, BODYSTRUCTURE, and various versions of BODY.PEEK.