The MimeMessage type exposes the following members.
Methods
Name | Description | |
---|---|---|
Clone |
Creates a copy of this message.
(Overrides MimeEntity..::..Clone()()()().) | |
Decrypt |
Decrypts the contents of an enveloped entity.
This method is only intended for entities with enveloped content.
(Inherited from MimeEntity.) | |
Encrypt |
Encrypts the contents of an enveloped entity.
This method is only intended for entities with enveloped content.
(Inherited from MimeEntity.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetContentStream()()()() |
Returns the read-only stream representing a content of this entity.
(Inherited from MimeEntity.) | |
GetContentStream(Boolean) |
Returns the stream representing a content of this entity.
(Inherited from MimeEntity.) | |
GetHashCode | 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.) | |
GetRawContentStream |
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.) | |
GetSignatureEntity |
Gets the signature entity if available. This can return this entity for signatures with inlined content.
(Inherited from MimeEntity.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Load(Stream) |
Loads the MIME entity from the specified stream.
(Inherited from MimeEntity.) | |
Load(String) |
Loads the MIME entity from the specified file.
(Inherited from MimeEntity.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnBrokenHeader |
Raises the UnparsableHeader event.
(Inherited from MimeEntity.) | |
Save(Stream) |
Saves the MIME entity to the specified stream.
(Inherited from MimeEntity.) | |
Save(String) |
Saves the MIME entity to the specified file.
(Inherited from MimeEntity.) | |
SetContent(Stream) |
Sets the content of this entity to data read from the specified stream.
(Inherited from MimeEntity.) | |
SetContent(String) |
Sets the content of this entity to the specified text.
(Inherited from MimeEntity.) | |
SetContent(MimeEntity) |
Sets the inner message of this entity to the specified message.
(Inherited from MimeEntity.) | |
SetContent(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.) | |
SetContent(String, String) |
Sets the content of this entity to the specified text and media type.
(Inherited from MimeEntity.) | |
SetContent(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.) | |
SetContent(String, String, Encoding) |
Sets the content of this entity to the specified text, media type and character set.
(Inherited from MimeEntity.) | |
SetContent(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.) | |
SetContent(String, String, Encoding, TransferEncoding) |
Sets the content of this entity to the specified text, media type and character set.
(Inherited from MimeEntity.) | |
SetContentFromFile(String) |
Sets the content of this entity to data read from the specified file.
(Inherited from MimeEntity.) | |
SetContentFromFile(String, String) |
Sets the content of this entity to data read from the specified file and sets file name.
(Inherited from MimeEntity.) | |
SetContentFromFile(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.) | |
SetContentFromFile(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.) | |
SetEnvelopedContent(MimeEntity, array<Certificate>[]()[][]) |
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.) | |
SetEnvelopedContent(MimeEntity, String, array<Certificate>[]()[][]) |
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.) | |
SetEnvelopedContent(MimeEntity, SymmetricKeyAlgorithmId, EncryptionParameters, array<Certificate>[]()[][]) |
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.) | |
SetEnvelopedContent(MimeEntity, String, EncryptionParameters, array<Certificate>[]()[][]) |
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.) | |
SetEnvelopedContent(MimeEntity, String, Int32, array<Certificate>[]()[][]) | Obsolete. (Inherited from MimeEntity.) | |
SetEnvelopedContent(MimeEntity, SymmetricKeyAlgorithmId, Nullable<(Of <<'(Int32>)>>), EncryptionParameters, array<Certificate>[]()[][]) |
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.) | |
SetSignedContent(MimeEntity, array<Certificate>[]()[][]) |
Sets the content of this entity to the specified signed entity.
(Inherited from MimeEntity.) | |
SetSignedContent(MimeEntity, MimeSignatureStyle, array<Certificate>[]()[][]) |
Sets the content of this entity to the specified signed content.
(Inherited from MimeEntity.) | |
SetSignedContent(MimeEntity, SignatureParameters, array<Certificate>[]()[][]) |
Sets the content of this entity to the specified signed content.
(Inherited from MimeEntity.) | |
SetSignedContent(MimeEntity, MimeSignatureStyle, SignatureHashAlgorithm, array<Certificate>[]()[][]) |
Sets the content of this entity to the specified signed content.
(Inherited from MimeEntity.) | |
SetSignedContent(MimeEntity, MimeSignatureStyle, SignatureParameters, array<Certificate>[]()[][]) |
Sets the content of this entity to the specified signed content.
(Inherited from MimeEntity.) | |
Sign |
Creates signatures for all signers that do not have one yet.
This method is only intended for entities with signed content.
(Inherited from MimeEntity.) | |
ToMessage |
Coverts the MimeEntity into a MimeMessage.
(Inherited from MimeEntity.) | |
ToStream |
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.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
ValidateSignature()()()() |
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.) | |
ValidateSignature(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.) | |
ValidateSignature(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.) |