Dart.Mail Namespace : ImapMessageInfo Enumeration |
<FlagsAttribute()> Public Enum ImapMessageInfo Inherits System.Enum
Dim instance As ImapMessageInfo
[Flags()] public enum ImapMessageInfo : System.Enum
[Flags()] __value public enum ImapMessageInfo : public System.Enum
[Flags()] public enum class ImapMessageInfo : public System.Enum
Member | Description |
---|---|
Date | Retrieve the internal date of the message, when it was received by the server. Populates ImapMessage.Date. |
Empty | Message is not populated. |
Envelope | Retrieve the IMAP envelope. Populates Date, Subject, From, To, Cc, Bcc, Sender, ReplyTo, Headers[HeaderKey.MessageID], and Headers[HeaderKey.InReplyTo] on ImapMessage.Message. |
Fast | An enum value combination preset. Retrieves message flags, internal date, and size. |
Flags | Retrieve the message flags. Populates Answered, Deleted, Draft, Flagged, Recent, and Seen. |
Full | An enum value combination preset. Retrieves message flags, internal date, size, envelope, and body. |
Header | Retrieve the message headers. Populates ImapMessage.Message.Headers, which sets Date, Subject, From, To, Cc, Bcc, Sender, and ReplyTo on ImapMessage.Message. |
Message | Retrieve the entire message. Populates ImapMessage.Message. |
Size | Retrieve the length of the encoded message, in bytes. Populates ImapMessage.Size. |
Structure | Retrieve the parsed body structure of the message. Populates ImapMessage.Message.Parts with empty parts of the applicable type. |
Text | Retrieve the text of the message, if applicable. Typicially populates ImapMessage.Message.Text. |
Uid | Retrieve the unique ID (UID) of the message. Populates ImapMessage.Uid. |
This enumeration represents sections of an IMAP message. IMAP allows partial message retrieval, and this enumeration specifies which section(s) should be retrieved. Values are additive; one or more values can be passed to ImapMessage.Get() and Mailbox.Get().
When requesting ImapMessageInfo.Text for MIME messages, the server's response will be used to create a new Textpart. If the server's response includes multiple MIME parts, request ImapMessageInfo.Headers and ImapMessageInfo.Text to parse the data into separate parts.
System.Object
System.ValueType
System.Enum
Dart.Mail.ImapMessageInfo