The IMail type exposes the following members.

Methods

  NameDescription
Public methodCheckDKIMSignature()()()()
Verifies the DKIM (DomainKeys Identified Mail) digital signature on this message. Queries DNS server to get the public key.
Public methodCheckDKIMSignature(RSACryptoServiceProvider)
Verifies the DKIM (DomainKeys Identified Mail) digital signature on this message.
Public methodCheckSignature
Verifies the digital signatures on the signed CMS/PKCS #7 email message and, optionally, validates the signers' certificates. Checks also if the content was signed by the person that sent it.
Public methodDecrypt()()()()
Decrypts the message. Searches through My certificate store to find appropriate certificate. You can use SMIMEConfiguration to specify certificates and automatic email decryption.
Public methodDecrypt(List<(Of <<'(X509Certificate2>)>>))
Decrypts the message. Searches through specified certificates and My certificate store to find appropriate certificate. You can use SMIMEConfiguration to specify certificates and automatic email decryption.
Public methodDecrypt(X509Certificate2)
Decrypts the message using specified certificate for decryption. Searches through specified certificate and My certificate store to find appropriate certificate. You can use SMIMEConfiguration to specify certificates and automatic email decryption.
Public methodDKIMSign(RSACryptoServiceProvider, DKIMSignatureInfo)
Signs this message using DKIM (DomainKeys Identified Mail) signature.
Public methodDKIMSign(RSACryptoServiceProvider, String, String)
Signs this message using DKIM (DomainKeys Identified Mail) signature.
Public methodForward
Creates ForwardBuilder configured to forward this email.
Public methodGetBodyAsHtml
Returns body in HTML format. If IsHtml is false this method uses Text property to create valid HTML.
Public methodGetBodyAsText
Returns body in plain text format. If IsText is false this method uses GetTextFromHtml()()()() method to extract plain text from Html property.
Public methodGetEnvelopedCms
Gets the EnvelopedCms object for encrypted emails.
Public methodGetGenericPriority
Gets message priority. It checks following headers in the specified order: Priority, Importance, XPriority.
Public methodGetSignedCms
Gets the SignedCms object for signed emails.
Public methodGetTextFromHtml
Extracts plain text from Html. This text may be different from what is actually stored in the email's Text property.
Public methodPriorityHigh
Sets XPriority to 1, Priority to Urgent and Importance to High
Public methodPriorityLow
Sets XPriority to 5, Priority to NonUrgent and Importance to Low
Public methodRemoveAttachments()()()()
Creates MailBuilder with all visual and non-visual attachments removed. Same as invoking RemoveAttachments(true, true).
Public methodRemoveAttachments(Boolean, Boolean)
Creates MailBuilder with all visual and non-visual attachments removed according to parameter values.
Public methodRenderEml
Renders mail message.
Public methodReply()()()()
Creates ReplyBuilder configured to reply to this email.
Public methodReply(String) Obsolete.
Creates MailBuilder configured for reply. From, To and Cc collections are already set. Use SetHtmlData(String) or SetTextData(String) to specify reply body.
Public methodReply(MailBox) Obsolete.
Creates MailBuilder configured for reply. From, To and Cc collections are already set. Use SetHtmlData(String) or SetTextData(String) to specify reply body.
Public methodReplyToAll(String) Obsolete.
Creates MailBuilder configured for reply to all. From, To and Cc collections are already set. Use SetHtmlData(String) or SetTextData(String) to specify reply body.
Public methodReplyToAll(MailBox) Obsolete.
Creates MailBuilder configured for reply to all. From, To and Cc collections are already set. Use SetHtmlData(String) or SetTextData(String) to specify reply body.
Public methodRequestReadReceipt
This method copies From list to all read receipts lists. Read receipts are stored using , or header.
Public methodReSignWith
Computes the signature again. certificate used for signing.
Public methodSave
Saves email using eml format to specified file.
Public methodSaveHtmlAs
Saves HTML version of the message as regular HTML file, also saves all visual elements as files to the same folder.

See Also