The MessageEnvelope type exposes the following members.

Constructors

  NameDescription
Public methodMessageEnvelope(String)
Creates an instance from an RFC 5322 message string.
Public methodMessageEnvelope(Message)
Creates an instance from a Message
Public methodMessageEnvelope(String, NHINDAddressCollection, NHINDAddress)
Creates an instance from an RFC 5322 message string and explicitly assigned sender and receivers, which take precendence over what may be in the message headers.
Public methodMessageEnvelope(Message, NHINDAddressCollection, NHINDAddress)
Creates an instance from a Message and explicitly assigned sender and receivers, which take precendence over what may be in the message headers.
Protected methodMessageEnvelope(Message, String, NHINDAddressCollection, NHINDAddress)
Creates an instance from a Message instance, with explicitly assigned raw message, recipients and sender, which take precendece over what may be in the message object or text.

Methods

  NameDescription
Public methodEnsureRecipientsCategorizedByDomain
If recipients have not been categorized by domain, categorizes by domain.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(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 methodSerializeMessage
Creates an RFC 5322 representation of this evelope's message. Does not serialize the custom properties, only the underlying message instance associated with this envelope.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyDomainRecipients
Gets the domain managed recipients for this envelope
Public propertyHasDomainRecipients
Indicates if this envelope has domain managed recipients.
Public propertyHasOtherRecipients
Indicates if this envelope has non-domain managed recipients.
Public propertyHasRecipients
Gets if this message has recipients
Public propertyHasRejectedRecipients
Does this message have rejected recipients?
Public propertyMessage
The Message instance representing the underlying message
Public propertyOtherRecipients
Gets and sets the non-domain recipients for this evelope.
Public propertyRecipients
The recipients of the message. Will generally reflect the To: header unless there are any RejectedRecipients
Public propertyRejectedRecipients
A collection of recipients that have been rejected due to trust issues.
Public propertySender
The sender (From: header) address.

See Also