The MailMessage type exposes the following members.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkClone
Creates a copy of this message.
Public methodSupported by the .NET Compact FrameworkCreateReply(MailAddress, ReplyBodyTransformation)
Creates a new message that is a reply to the current message.
Public methodSupported by the .NET Compact FrameworkCreateReply(MailAddress, ReplyBodyTransformation, Boolean)
Creates a new message that is a reply to the current message.
Public methodSupported by the .NET Compact FrameworkDecrypt
Decrypts an encrypted message, making the content accessible.
Public methodSupported by the .NET Compact FrameworkEncrypt(array<Certificate>[]()[][])
Encrypts a message.
Public methodSupported by the .NET Compact FrameworkEncrypt(IEnumerable<(Of <<'(Certificate>)>>))
Encrypts a message.
Public methodSupported by the .NET Compact FrameworkEncrypt(MailEncryptionAlgorithm, array<Certificate>[]()[][])
Encrypts a message.
Public methodSupported by the .NET Compact FrameworkEncrypt(MailEncryptionAlgorithm, IEnumerable<(Of <<'(Certificate>)>>))
Encrypts a message.
Public methodSupported by the .NET Compact FrameworkEncrypt(MailEncryptionParameters, array<Certificate>[]()[][])
Encrypts a message.
Public methodSupported by the .NET Compact FrameworkEncrypt(MailEncryptionParameters, IEnumerable<(Of <<'(Certificate>)>>))
Encrypts a message.
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 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 FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkLoad(array<Byte>[]()[][])
Loads a mail message from its byte array representation.
Public methodSupported by the .NET Compact FrameworkLoad(Stream)
Loads a mail message from the supplied stream.
Public methodSupported by the .NET Compact FrameworkLoad(String)
Loads a mail message from the supplied file.
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkRemoveSignature
Removes a signature from a signed message.
Public methodSupported by the .NET Compact FrameworkSave(Stream)
Saves the mail message to the supplied stream in MIME format.
Public methodSupported by the .NET Compact FrameworkSave(String)
Saves the mail message to the supplied file in MIME format.
Public methodSupported by the .NET Compact FrameworkSave(Stream, MailFormat)
Saves the mail message to the supplied stream.
Public methodSupported by the .NET Compact FrameworkSave(String, MailFormat)
Saves the mail message to the supplied file.
Public methodSupported by the .NET Compact FrameworkSign(array<Certificate>[]()[][])
Signs a message.
Public methodSupported by the .NET Compact FrameworkSign(IEnumerable<(Of <<'(Certificate>)>>))
Signs a message.
Public methodSupported by the .NET Compact FrameworkSign(MailSignatureParameters, array<Certificate>[]()[][])
Signs a message.
Public methodSupported by the .NET Compact FrameworkSign(MailSignatureParameters, IEnumerable<(Of <<'(Certificate>)>>))
Signs a message.
Public methodSupported by the .NET Compact FrameworkSign(SignatureHashAlgorithm, array<Certificate>[]()[][])
Public methodSupported by the .NET Compact FrameworkSign(SignatureHashAlgorithm, IEnumerable<(Of <<'(Certificate>)>>))
Public methodSupported by the .NET Compact FrameworkSign(SignatureHashAlgorithm, MailSignatureStyle, array<Certificate>[]()[][])
Public methodSupported by the .NET Compact FrameworkSign(SignatureHashAlgorithm, MailSignatureStyle, IEnumerable<(Of <<'(Certificate>)>>))
Public methodSupported by the .NET Compact FrameworkToByteArray
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.
Public methodSupported by the .NET Compact FrameworkToMimeMessage
Converts a MailMessage to a MimeMessage.
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 a signed message and validates all the signers' certificates.
Public methodSupported by the .NET Compact FrameworkValidateSignature(MailSignatureValidationOptions)
Validates all digital signatures on a signed message. The specified validation options are taken into account.
Public methodSupported by the .NET Compact FrameworkValidateSignature(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.
Public methodSupported by the .NET Compact FrameworkValidateSignature(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.
Public methodSupported by the .NET Compact FrameworkValidateSignature(MailSignatureValidationOptions, ValidationOptions, CertificateChainEngine)
Validates all digital signatures on a signed message with the specified engine. The specified validation options are taken into account.

See Also