IMail Methods |
The IMail type exposes the following members.
Name | Description | |
---|---|---|
CheckDKIMSignature |
Verifies the DKIM (DomainKeys Identified Mail) digital signature on this message. Queries DNS server to get the public key.
| |
CheckDKIMSignature(RSACryptoServiceProvider) |
Verifies the DKIM (DomainKeys Identified Mail) digital signature on this message.
| |
CheckDKIMSignature(DKIMValidationConfiguration) |
Verifies the DKIM (DomainKeys Identified Mail) digital signature on this message. Queries DNS server to get the public key.
| |
CheckDKIMSignature(RSACryptoServiceProvider, DKIMValidationConfiguration) |
Verifies the DKIM (DomainKeys Identified Mail) digital signature on this message.
| |
CheckSignature(Boolean) |
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.
| |
CheckSignature(SignatureValidationConfiguration) |
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.
| |
Decrypt |
Decrypts the message.
Searches through My certificate store to find appropriate certificate.
You can use SMIMEConfiguration to specify certificates and automatic email decryption.
| |
Decrypt(ListX509Certificate2) |
Decrypts the message.
Searches through specified certificates and My certificate store to find appropriate certificate.
| |
Decrypt(X509Certificate2) |
Decrypts the message using specified certificate for decryption.
Uses the specified certificate and My certificate store to find appropriate certificate.
| |
Decrypt(MimeConfiguration) |
Decrypts the message using specified MIME and S/MIME configuration.
| |
Decrypt(SMIMEConfiguration) |
Decrypts the message using specified S/MIME configuration.
| |
DKIMSign(ListDKIMSignatureConfiguration) |
Signs this message with multiple DKIM (DomainKeys Identified Mail) signatures.
| |
DKIMSign(RSACryptoServiceProvider, DKIMSignatureInfo) |
Signs this message using DKIM (DomainKeys Identified Mail) signature.
| |
DKIMSign(RSACryptoServiceProvider, String, String) |
Signs this message using DKIM (DomainKeys Identified Mail) signature.
| |
EstimateTransportSize |
Gets the estimated transport size of this message.
| |
ExtractAttachmentsFromInnerMessages |
Extracts attachments from this message and all attached messages (MimeRfc822 objects with MessageRfc822 content type).
| |
ExtractSigned |
Extracts signed message.
| |
ExtractSigned(MimeConfiguration) |
Extracts signed message using specified MIME and S/MIME configuration.
| |
ExtractSigned(SMIMEConfiguration) |
Extracts signed message using specified S/MIME configuration.
| |
Forward |
Creates ForwardBuilder configured to forward this email.
| |
GetBodyAsHtml | ||
GetBodyAsHtml(Boolean) | ||
GetBodyAsText | ||
GetBodyAsText(Boolean) | ||
GetEnvelopedCms |
Gets the EnvelopedCms object for encrypted emails.
| |
GetGenericPriority |
Gets message priority.
It checks following headers in the specified order: Priority, Importance, XPriority.
| |
GetReadReceiptAddresses |
Gets addresses to which read receipt should be send.
It uses , NotificationTo and XConfirmReadingTo header.
Duplicates are removed. It returs an empty list, if read receipt was not requested.
| |
GetSignedCms |
Gets the SignedCms object for signed emails.
| |
GetTextFromHtml | ||
GetTextFromRtf | ||
PriorityHigh | ||
PriorityLow | ||
RemoveAttachments |
Removes all attachments (NonVisuals) and visual elements from this email.
Same as invoking RemoveAttachments(new AttachmentRemoverConfiguration()).
| |
RemoveAttachments(AttachmentRemoverConfiguration) |
Removes attachments and visual elements from this email, according to configuration settings.
| |
Render |
Renders mail message using eml format.
BCC header is not rendered.
| |
Render(Stream) |
Render mail message using eml format to specified stream.
BCC header is rendered.
| |
Render(AddressHeaderRenderMode) |
Renders mail message using eml format.
| |
Render(Stream, AddressHeaderRenderMode) |
Render mail message using eml format to specified stream.
| |
RenderEml | Obsolete.
Renders mail message using eml format.
BCC header is not rendered.
| |
RenderEml(Boolean) | Obsolete.
Renders mail message using eml format.
| |
ReplaceAttachments |
Replaces all attachments (NonVisuals) and visual elements with text indicating that attachment/visual was removed.
| |
ReplaceAttachments(AttachmentReplacerConfiguration) |
Replaces attachments and visual elements with text indicating that attachment/visual was removed, according to configuration settings.
| |
Reply |
Creates ReplyBuilder configured to reply to this email.
| |
RequestReadReceipt |
This method copies From or ReplyTo addresses to all read receipts lists.
Read receipts are stored using NotificationTo, ReturnReceiptTo and XConfirmReadingTo headers.
| |
ReSignWith(X509Certificate2) |
Computes the signature again.
| |
ReSignWith(SignatureConfiguration) |
Computes the signature again.
| |
Save |
Saves email using eml format to specified file.
BCC header is rendered.
| |
SaveHtmlAs(String) |
Saves HTML version of the message as regular HTML file.
Saves all visual elements as files to the same folder.
If the message is plain text only, this method uses GetBodyAsHtml to create HTML from plain text.
| |
SaveHtmlAs(String, Boolean) |
Saves HTML version of the message as regular HTML file.
When inlineVisuals is set to true: all visual elements are inlined using data: URI scheme, instead of being saved to disk.
If the message is plain text only, this method uses GetBodyAsHtml to create HTML from plain text.
| |
ToBuilder |
Creates new, fully initialized MailBuilder instance, with all data imported from this email object.
|