The MailMessage type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Clone |
Creates a copy of this message.
| |
| CreateReply(MailAddress, ReplyBodyTransformation) |
Creates a new message that is a reply to the current message.
| |
| CreateReply(MailAddress, ReplyBodyTransformation, Boolean) |
Creates a new message that is a reply to the current message.
| |
| Decrypt |
Decrypts an encrypted message, making the content accessible.
| |
| Encrypt(array<Certificate>[]()[][]) |
Encrypts a message.
| |
| Encrypt(IEnumerable<(Of <<'(Certificate>)>>)) |
Encrypts a message.
| |
| Encrypt(MailEncryptionAlgorithm, array<Certificate>[]()[][]) |
Encrypts a message.
| |
| Encrypt(MailEncryptionAlgorithm, IEnumerable<(Of <<'(Certificate>)>>)) |
Encrypts a message.
| |
| Encrypt(MailEncryptionParameters, array<Certificate>[]()[][]) |
Encrypts a message.
| |
| Encrypt(MailEncryptionParameters, IEnumerable<(Of <<'(Certificate>)>>)) |
Encrypts a message.
| |
| 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.) | |
| 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.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Load(array<Byte>[]()[][]) |
Loads a mail message from its byte array representation.
| |
| Load(Stream) |
Loads a mail message from the supplied stream.
| |
| Load(String) |
Loads a mail message from the supplied file.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveSignature |
Removes a signature from a signed message.
| |
| Save(Stream) |
Saves the mail message to the supplied stream in MIME format.
| |
| Save(String) |
Saves the mail message to the supplied file in MIME format.
| |
| Save(Stream, MailFormat) |
Saves the mail message to the supplied stream.
| |
| Save(String, MailFormat) |
Saves the mail message to the supplied file.
| |
| Sign(array<Certificate>[]()[][]) |
Signs a message.
| |
| Sign(IEnumerable<(Of <<'(Certificate>)>>)) |
Signs a message.
| |
| Sign(MailSignatureParameters, array<Certificate>[]()[][]) |
Signs a message.
| |
| Sign(MailSignatureParameters, IEnumerable<(Of <<'(Certificate>)>>)) |
Signs a message.
| |
| Sign(SignatureHashAlgorithm, array<Certificate>[]()[][]) | ||
| Sign(SignatureHashAlgorithm, IEnumerable<(Of <<'(Certificate>)>>)) | ||
| Sign(SignatureHashAlgorithm, MailSignatureStyle, array<Certificate>[]()[][]) | ||
| Sign(SignatureHashAlgorithm, MailSignatureStyle, IEnumerable<(Of <<'(Certificate>)>>)) | ||
| ToByteArray |
Returns a byte array representation of the mail message.
This is the same as the content of a file saved using the Save(String) message.
| |
| ToMimeMessage |
Converts a MailMessage to a MimeMessage.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
| ValidateSignature()()()() |
Validates all digital signatures on a signed message
and validates all the signers' certificates.
| |
| ValidateSignature(MailSignatureValidationOptions) |
Validates all digital signatures on a signed message.
The specified validation options are taken into account.
| |
| ValidateSignature(Boolean, ValidationOptions) |
Validates all digital signatures on a signed message.
Optionally, signers' certificates are not validated, and the specified validation
options are taken into account.
| |
| ValidateSignature(Boolean, ValidationOptions, CertificateChainEngine) |
Validates all digital signatures on a signed message with the specified engine.
Optionally, signers' certificates are not validated, and the specified validation
options are taken into account.
| |
| ValidateSignature(MailSignatureValidationOptions, ValidationOptions, CertificateChainEngine) |
Validates all digital signatures on a signed message with the specified engine.
The specified validation options are taken into account.
|