Click or drag to resize
MimeKit

Envelope Class

A message envelope containing a brief summary of the message.
Inheritance Hierarchy
SystemObject
  MailKitEnvelope

Namespace:  MailKit
Assembly:  MailKit (in MailKit.dll) Version: 3.0.0
Syntax
C#
public class Envelope

The Envelope type exposes the following members.

Constructors
  NameDescription
Public methodEnvelope
Initializes a new instance of the Envelope class.
Top
Properties
  NameDescription
Public propertyBcc
Gets the list of addresses that the message was blind-carbon-copied to.
Public propertyCc
Gets the list of addresses that the message was carbon-copied to.
Public propertyDate
Gets the date that the message was sent on, if available.
Public propertyFrom
Gets the address(es) that the message is from.
Public propertyInReplyTo
The Message-Id that the message is replying to.
Public propertyMessageId
Gets the ID of the message, if available.
Public propertyReplyTo
Gets the address(es) that replies should be sent to.
Public propertySender
Gets the actual sender(s) of the message.
Public propertySubject
Gets the subject of the message.
Public propertyTo
Gets the list of addresses that the message was sent to.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Envelope.
(Overrides ObjectToString.)
Public methodStatic memberTryParse
Tries to parse the given text into a new Envelope instance.
Top
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.
See Also