Envelope Class

A message envelope containing a brief summary of the message.

Definition

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

Remarks

The envelope of a message contains information such as the date the message was sent, the subject of the message, the sender of the message, who the message was sent to, which message(s) the message may be in reply to, and the message id.

Constructors

Envelope Initializes a new instance of the Envelope class.

Properties

Bcc Gets the list of addresses that the message was blind-carbon-copied to.
Cc Gets the list of addresses that the message was carbon-copied to.
Date Gets the date that the message was sent on, if available.
From Gets the address(es) that the message is from.
InReplyTo The Message-Id that the message is replying to.
MessageId Gets the ID of the message, if available.
ReplyTo Gets the address(es) that replies should be sent to.
Sender Gets the actual sender(s) of the message.
Subject Gets the subject of the message.
To Gets the list of addresses that the message was sent to.

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 Envelope.
(Overrides ObjectToString)
TryParse Tries to parse the given text into a new Envelope instance.

See Also

Reference