MailMessage Methods |
The MailMessage type exposes the following members.
| Name | Description | |
|---|---|---|
| AddAlternateView |
Add an alternate view to message
| |
| AddAttachment |
Add an attachment to message
| |
| AttachSignature(CmsSigner) |
Creates a signed message.
Creates a read-only copy of the specified MailMessage
and adds a digital signature to it.
| |
| AttachSignature(X509Certificate2) |
Creates a signed message.
Creates a read-only copy of the specified MailMessage
and adds a digital signature to it.
| |
| AttachSignature(CmsSigner, Boolean) |
Creates a signed message.
Creates a read-only copy of the specified MailMessage
and adds a digital signature to it.
| |
| AttachSignature(X509Certificate2, Boolean) |
Creates a signed message.
Creates a read-only copy of the specified MailMessage
and adds a digital signature to it.
| |
| CheckBounced |
Checks whether this message can be treated as a bounce message.
| |
| CheckSignature |
Checking signature exsisting MailMessage.
| |
| CheckSignature(Stream) |
Checks the signature of the specified eml message.
| |
| CheckSignature(String) |
Checks the signature of the specified eml file.
| |
| Clone |
Clones this instance
| |
| CreateReadReceipt |
Creates the read receipt.
| |
| Decrypt |
Decrypts this message
| |
| Decrypt(X509Certificate2) |
Decrypts this message
| |
| Dispose |
Releases all resources used by the MailMessage
| |
| Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
| |
| DKIMSign |
Signs this message using DKIM (DomainKeys Identified Mail) signature.
| |
| Encrypt(X509Certificate2) |
Encrypts this message
| |
| Encrypt(X509Certificate2) |
Encrypts this message
| |
| Equals |
Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(Object).) | |
| Finalize | (Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator that iterates through a collection.
| |
| GetHashCode |
Returns a hash code for object
(Overrides ObjectGetHashCode.) | |
| GetHtmlBodyText(Boolean) |
Gets the message htmlbody as plain text.
| |
| GetHtmlBodyText(HyperlinkRenderingCallback) |
Gets the message htmlbody as plain text.
| |
| GetObjectData |
Populates a SerializationInfo with the data needed to serialize the target object.
| |
| GetType | (Inherited from Object.) | |
| Import |
Imports message from stream
| |
| Load(Stream) |
Load message from stream
| |
| Load(String) |
Load message from file
| |
| Load(Stream, LoadOptions) |
Load message from stream with additional options.
| |
| Load(String, LoadOptions) |
Load message from file with additional options.
| |
| MemberwiseClone | (Inherited from Object.) | |
| RecomposeTnefContent |
Composes the TNEF content.
Note, that tnef attachment is composed if a message initially contained TNEF
and was loaded without FileCompatibilityMode.PreserveTnefAttachments flag,
That is this method doesn't create tnef message out of the regular one.
| |
| RemoveSignature |
Remove signature
| |
| Save(Stream) |
Save message as a stream
| |
| Save(String) |
Save message as a file
| |
| Save(Stream, SaveOptions) |
Save message as a stream with additional options.
| |
| Save(String, SaveOptions) |
Save message as a file with additional options.
| |
| ToString |
Returns a string that represents the current object.
(Overrides ObjectToString.) | |
| ValidateMessage(Stream) |
Validate eml message for corresponding to mime specification.
| |
| ValidateMessage(String) |
Validate eml message for corresponding to mime specification.
|