• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Enum ImapFetchOptions

Specifies which data items to fetch in an IMAP FETCH command (RFC 9051 §6.4.5). Multiple values can be combined with bitwise OR.

Namespace: DRIT.Mail.Rfc.Imap
Assembly: DRIT.Mail.dll
Syntax
[Flags]
public enum ImapFetchOptions

Fields

Name Description
All

Common metadata: Envelope, Flags, InternalDate, Uid, Size.

Body

Fetch the full message body — BODY.PEEK[]. PEEK avoids implicitly setting \Seen.

Envelope

Fetch the message envelope (date, subject, from, to, cc, bcc, reply-to, in-reply-to, message-id) — ENVELOPE.

Flags

Fetch the message flags — FLAGS.

Headers

Fetch the message headers — BODY.PEEK[HEADER]. PEEK avoids implicitly setting \Seen.

InternalDate

Fetch the internal date — INTERNALDATE.

None

No fetch items.

Size

Fetch the message size — RFC822.SIZE.

Structure

Fetch the MIME body structure — BODYSTRUCTURE.

Uid

Fetch the unique identifier — UID.

  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX