The MimeMessage type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkMimeMessage
Initializes an instance of MimeMessage.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkClone
Creates a copy of this message.
(Overrides MimeEntity..::..Clone()()()().)
Public methodSupported by the .NET Compact FrameworkDecrypt
Decrypts the contents of an enveloped entity. This method is only intended for entities with enveloped content.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkEncrypt
Encrypts the contents of an enveloped entity. This method is only intended for entities with enveloped content.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
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 methodSupported by the .NET Compact FrameworkGetContentStream()()()()
Returns the read-only stream representing a content of this entity.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkGetContentStream(Boolean)
Returns the stream representing a content of this entity.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetRawContentStream
Returns the read-only stream representing a raw content of this entity. Only available for messages that were parsed with MimeOptions.KeepRawEntityBody flag. You probably need to use GetContentStream(Boolean) instead.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkGetSignatureEntity
Gets the signature entity if available. This can return this entity for signatures with inlined content.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkLoad(Stream)
Loads the MIME entity from the specified stream.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkLoad(String)
Loads the MIME entity from the specified file.
(Inherited from MimeEntity.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkOnBrokenHeader
Raises the UnparsableHeader event.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSave(Stream)
Saves the MIME entity to the specified stream.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSave(String)
Saves the MIME entity to the specified file.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetContent(Stream)
Sets the content of this entity to data read from the specified stream.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetContent(String)
Sets the content of this entity to the specified text.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetContent(MimeEntity)
Sets the inner message of this entity to the specified message.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetContent(Stream, String)
Sets the content of this entity to data read from the specified stream and sets media type and file name.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetContent(String, String)
Sets the content of this entity to the specified text and media type.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetContent(Stream, String, String)
Sets the content of this entity to data read from the specified stream and sets media type and file name.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetContent(String, String, Encoding)
Sets the content of this entity to the specified text, media type and character set.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetContent(Stream, String, String, TransferEncoding)
Sets the content of this entity to data read from the specified stream and sets media type, file name and transfer encoding.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetContent(String, String, Encoding, TransferEncoding)
Sets the content of this entity to the specified text, media type and character set.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetContentFromFile(String)
Sets the content of this entity to data read from the specified file.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetContentFromFile(String, String)
Sets the content of this entity to data read from the specified file and sets file name.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetContentFromFile(String, String, String)
Sets the content of this entity to data read from the specified file and sets media type and file name.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetContentFromFile(String, String, String, TransferEncoding)
Sets the content of this entity to data read from the specified file and sets media type, file name and transfer encoding.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetEnvelopedContent(MimeEntity, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetEnvelopedContent(MimeEntity, String, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetEnvelopedContent(MimeEntity, SymmetricKeyAlgorithmId, EncryptionParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetEnvelopedContent(MimeEntity, String, EncryptionParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetEnvelopedContent(MimeEntity, String, Int32, array<Certificate>[]()[][]) Obsolete. (Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetEnvelopedContent(MimeEntity, SymmetricKeyAlgorithmId, Nullable<(Of <<'(Int32>)>>), EncryptionParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetSignedContent(MimeEntity, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed entity.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetSignedContent(MimeEntity, MimeSignatureStyle, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed content.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetSignedContent(MimeEntity, SignatureParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed content.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetSignedContent(MimeEntity, MimeSignatureStyle, SignatureHashAlgorithm, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed content.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSetSignedContent(MimeEntity, MimeSignatureStyle, SignatureParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed content.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkSign
Creates signatures for all signers that do not have one yet. This method is only intended for entities with signed content.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkToMessage
Coverts the MimeEntity into a MimeMessage.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkToStream
Returns a read-only stream that can be used to read the raw MIME message content. Copying all the content into another stream is identical to Save(Stream) method.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkValidateSignature()()()()
Validates all digital signatures on this CMS/PKCS #7 signed message and validates all the signers' certificates. This method is only intended for entities with signed content.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkValidateSignature(Boolean, ValidationOptions)
Validates all digital signatures on this CMS/PKCS #7 signed message. Optionally, no signers' certificates are not validated, and the specified validation options are taken into account. This method is only intended for entities with signed content.
(Inherited from MimeEntity.)
Public methodSupported by the .NET Compact FrameworkValidateSignature(Boolean, ValidationOptions, CertificateChainEngine)
Validates all digital signatures on this CMS/PKCS #7 signed message. Optionally, no signers' certificates are not validated, and the specified validation options are taken into account. This method is only intended for entities with signed content.
(Inherited from MimeEntity.)

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkBcc
Gets or sets the list of addresses of recipients that are not to be revealed to other recipients of the message.
Public propertySupported by the .NET Compact FrameworkCC
Gets or sets the list of addresses of others who are to receive the message.
Public propertySupported by the .NET Compact FrameworkCertificateFinder
Gets or sets the ICertificateFinder to be used to find certificates used to encrypt or sign the entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkComments
Gets or sets the comments on the message.
Public propertySupported by the .NET Compact FrameworkContentDescription
Gets or sets the content description of this entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkContentDisposition
Gets or sets the content disposition of this entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkContentId
Gets or sets the content ID of this entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkContentLocation
Gets or sets the content location of this entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkContentMessage
Gets the inner message of a 'message/rfc822' entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkContentString
Gets the content string of this entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkContentTransferEncoding
Gets or sets the content transfer encoding of this entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkContentType
Gets or sets the content type of this entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkDate
Gets or sets the origination date of this message.
Public propertySupported by the .NET Compact FrameworkDefaultCharset
Gets or sets the default charset for MIME body and headers.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkDispositionNotificationTo
Gets or sets the list of mailboxes that should be notified of message disposition by the receiving user agent.
Public propertySupported by the .NET Compact FrameworkEnvelopedContentInfo
Gets the EnvelopedData object that contains information about enveloped (encrypted) content. This property is only set for entities with enveloped content.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkEnvelopeId
Gets or sets the envelope identifier to be transmitted along with the message and included in any DSNs issued.
Public propertySupported by the .NET Compact FrameworkEpilogue
Gets or sets the epilogue of this multipart entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkFrom
Gets or sets the list of authors of this message.
Public propertySupported by the .NET Compact FrameworkHeaders
Gets the list of headers of this entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkCharset
Gets the charset (Encoding) of the content of this entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkInReplyTo
Gets or sets the list of identifiers of messages to which the message is a reply.
Public propertySupported by the .NET Compact FrameworkIsMultipart
Determines whether the entity is a multipart entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkKeywords
Gets or sets the list of keywords.
Public propertySupported by the .NET Compact FrameworkKind
Gets the type of the entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkListArchive
Gets or sets the list of URLs of the 'List-Archive' header.
Public propertySupported by the .NET Compact FrameworkListHelp
Gets or sets the list of URLs of the 'List-Help' header.
Public propertySupported by the .NET Compact FrameworkListOwner
Gets or sets the list of URLs of the 'List-Owner' header.
Public propertySupported by the .NET Compact FrameworkListPost
Gets or sets the list of URLs of the 'List-Post' header.
Public propertySupported by the .NET Compact FrameworkListSubscribe
Gets or sets the list of URLs of the 'List-Subscribe' header.
Public propertySupported by the .NET Compact FrameworkListUnsubscribe
Gets or sets the list of URLs of the 'List-Unsubscribe' header.
Public propertySupported by the .NET Compact FrameworkMessageId
Gets or sets the unique identifier of the message.
Public propertySupported by the .NET Compact FrameworkName
Gets or sets the suggested file name of this entity, if it is present.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkOptions
Gets or sets various options for MIME parser and writer.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkParent
Gets or sets the parent of this entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkParts
Gets the list of child parts of this entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkPreamble
Gets or sets the preamble of this multipart entity.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkPriority
Gets or sets the priority of the message.
Public propertySupported by the .NET Compact FrameworkReadOnly
Gets or sets a value indicating whether the entity is read-only.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkReferences
Gets or sets the list of identifiers of messages in the same "thread" of conversation.
Public propertySupported by the .NET Compact FrameworkReplyTo
Gets or sets the list of addresses that should receive replies to this message.
Public propertySupported by the .NET Compact FrameworkSender
Gets or sets the sender of this message.
Public propertySupported by the .NET Compact FrameworkSignatureStyle
Gets or sets the signature style of a signed entity container. This property is only intended for entities with signed content.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkSignedContentInfo
Gets the SignedData object that contains information about signed content. This property is only set for entities with signed content.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkSilent
Gets or sets a value indicating whether cryptographic providers are allowed to display any user interface (UI) when working with private keys.
(Inherited from MimeEntity.)
Public propertySupported by the .NET Compact FrameworkSubject
Gets or sets the subject of the message.
Public propertySupported by the .NET Compact FrameworkTo
Gets or sets the list of addresses of primary recipients of the message.
Public propertySupported by the .NET Compact FrameworkTransferEncoding
Gets or sets the TransferEncoding of the content of this entity.
(Inherited from MimeEntity.)

Events

  NameDescription
Public eventSupported by the .NET Compact FrameworkParsingHeader
Occurs when a MIME header is to be parsed.
(Inherited from MimeEntity.)
Public eventSupported by the .NET Compact FrameworkUnparsableHeader
Occurs when an unparsable header is encountered while parsing a MIME message.
(Inherited from MimeEntity.)

See Also