Click or drag to resize
MimeKit

MimeMessage Methods

The MimeMessage type exposes the following members.

Methods
  NameDescription
Public methodAccept
Dispatches to the specific visit method for this MIME message.
Public methodStatic memberCreateFromMailMessage
Creates a new MimeMessage from a MailMessage.
Public methodEncrypt
Encrypt the message to the sender and all of the recipients using the specified cryptography context.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetTextBody
Get the text body in the specified format.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberLoad(Stream, CancellationToken)
Load a MimeMessage from the specified stream.
Public methodStatic memberLoad(String, CancellationToken)
Load a MimeMessage from the specified file.
Public methodStatic memberLoad(Stream, Boolean, CancellationToken)
Load a MimeMessage from the specified stream.
Public methodStatic memberLoad(ParserOptions, Stream, CancellationToken)
Load a MimeMessage from the specified stream.
Public methodStatic memberLoad(ParserOptions, String, CancellationToken)
Load a MimeMessage from the specified file.
Public methodStatic memberLoad(ParserOptions, Stream, Boolean, CancellationToken)
Load a MimeMessage from the specified stream.
Public methodStatic memberLoadAsync(Stream, CancellationToken)
Asynchronously load a MimeMessage from the specified stream.
Public methodStatic memberLoadAsync(String, CancellationToken)
Asynchronously load a MimeMessage from the specified file.
Public methodStatic memberLoadAsync(Stream, Boolean, CancellationToken)
Asynchronously load a MimeMessage from the specified stream.
Public methodStatic memberLoadAsync(ParserOptions, Stream, CancellationToken)
Asynchronously load a MimeMessage from the specified stream.
Public methodStatic memberLoadAsync(ParserOptions, String, CancellationToken)
Asynchronously load a MimeMessage from the specified file.
Public methodStatic memberLoadAsync(ParserOptions, Stream, Boolean, CancellationToken)
Asynchronously load a MimeMessage from the specified stream.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrepare
Prepare the message for transport using the specified encoding constraints.
Public methodSign(CryptographyContext)
Sign the message using the specified cryptography context and the SHA-1 digest algorithm.
Public methodSign(CryptographyContext, DigestAlgorithm)
Sign the message using the specified cryptography context and digest algorithm.
Public methodCode exampleSign(DkimSigner, IListHeaderId, DkimCanonicalizationAlgorithm, DkimCanonicalizationAlgorithm) Obsolete.
Digitally sign the message using a DomainKeys Identified Mail (DKIM) signature.
Public methodCode exampleSign(DkimSigner, IListString, DkimCanonicalizationAlgorithm, DkimCanonicalizationAlgorithm) Obsolete.
Digitally sign the message using a DomainKeys Identified Mail (DKIM) signature.
Public methodCode exampleSign(FormatOptions, DkimSigner, IListHeaderId, DkimCanonicalizationAlgorithm, DkimCanonicalizationAlgorithm) Obsolete.
Digitally sign the message using a DomainKeys Identified Mail (DKIM) signature.
Public methodCode exampleSign(FormatOptions, DkimSigner, IListString, DkimCanonicalizationAlgorithm, DkimCanonicalizationAlgorithm) Obsolete.
Digitally sign the message using a DomainKeys Identified Mail (DKIM) signature.
Public methodSignAndEncrypt(CryptographyContext)
Sign and encrypt the message to the sender and all of the recipients using the specified cryptography context and the SHA-1 digest algorithm.
Public methodSignAndEncrypt(CryptographyContext, DigestAlgorithm)
Sign and encrypt the message to the sender and all of the recipients using the specified cryptography context and the specified digest algorithm.
Public methodToString
Returns a String that represents the MimeMessage for debugging purposes.
(Overrides ObjectToString.)
Public methodCode exampleVerify(Header, IDkimPublicKeyLocator, CancellationToken) Obsolete.
Verify the specified DKIM-Signature header.
Public methodCode exampleVerify(FormatOptions, Header, IDkimPublicKeyLocator, CancellationToken) Obsolete.
Verify the specified DKIM-Signature header.
Public methodCode exampleVerifyAsync(Header, IDkimPublicKeyLocator, CancellationToken) Obsolete.
Asynchronously verify the specified DKIM-Signature header.
Public methodCode exampleVerifyAsync(FormatOptions, Header, IDkimPublicKeyLocator, CancellationToken) Obsolete.
Asynchronously verify the specified DKIM-Signature header.
Public methodWriteTo(Stream, CancellationToken)
Write the message to the specified output stream.
Public methodWriteTo(String, CancellationToken)
Write the message to the specified file.
Public methodWriteTo(Stream, Boolean, CancellationToken)
Write the message to the specified output stream.
Public methodWriteTo(FormatOptions, Stream, CancellationToken)
Write the message to the specified output stream.
Public methodWriteTo(FormatOptions, String, CancellationToken)
Write the message to the specified file.
Public methodWriteTo(FormatOptions, Stream, Boolean, CancellationToken)
Write the message to the specified output stream.
Public methodWriteToAsync(Stream, CancellationToken)
Asynchronously write the message to the specified output stream.
Public methodWriteToAsync(String, CancellationToken)
Asynchronously write the message to the specified file.
Public methodWriteToAsync(Stream, Boolean, CancellationToken)
Asynchronously write the message to the specified output stream.
Public methodWriteToAsync(FormatOptions, Stream, CancellationToken)
Asynchronously write the message to the specified output stream.
Public methodWriteToAsync(FormatOptions, String, CancellationToken)
Asynchronously write the message to the specified file.
Public methodWriteToAsync(FormatOptions, Stream, Boolean, CancellationToken)
Asynchronously write the message to the specified output stream.
Top
See Also