MessageSummary Class

A summary of a message.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public class MessageSummary : IMessageSummary
Inheritance
Object    MessageSummary
Implements
IMessageSummary

Remarks

The Fetch and FetchAsync methods return lists of IMessageSummary items.

The properties of the MessageSummary that will be available depend on the MessageSummaryItems passed to the aforementioned method.

Constructors

MessageSummary Initializes a new instance of the MessageSummary class.

Properties

Annotations Gets the message annotations, if available.
Attachments Gets the attachments.
Body Gets the body structure of the message, if available.
BodyParts Gets the body parts of the message.
Date Gets the Date header value.
EmailId Get the globally unique identifier for the message, if available.
Envelope Gets the envelope of the message, if available.
Fields Get a bitmask of fields that have been populated.
Flags Gets the message flags, if available.
GMailLabels Gets the list of GMail labels, if available.
GMailMessageId Gets the GMail message identifier, if available.
GMailThreadId Gets the GMail thread identifier, if available.
Headers Gets the list of headers, if available.
HtmlBody Gets the html body part of the message if it exists.
Index Gets the index of the message.
InternalDate Gets the internal date of the message (i.e. the "received" date), if available.
IsReply Gets whether or not the message is a reply.
Keywords Gets the user-defined message flags, if available.
ModSeq Gets the mod-sequence value for the message, if available.
NormalizedSubject Gets the normalized subject.
PreviewText Gets the preview text of the message.
References Gets the message-ids that the message references, if available.
SaveDate Gets the date and time that the message was saved to the current mailbox, if available.
Size Gets the size of the message, in bytes, if available.
TextBody Gets the text body part of the message if it exists.
ThreadId Get the globally unique thread identifier for the message, if available.
UniqueId Gets the unique identifier of the message, if available.

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
ToString Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference