Click or drag to resize

MailBuilder Methods

The MailBuilder type exposes the following members.

Methods
 NameDescription
Public methodAddAlternative(Byte) Adds alternative view for this message.
Public methodAddAlternative(MimeBase) Adds alternative view for this message.
Public methodAddAppointment Adds specified appointment as alternative view for this message.
Public methodAddAttachment(Byte) Adds attachment with specified data.
Public methodAddAttachment(MimeData) Adds attachment.
Public methodAddAttachment(String) Adds attachment. Data are read from the specified file.
Public methodAddCustomHeader Adds custom header that will be added to IMail object after creation.
Public methodAddVCard Adds specified VCARD as attachment to this message.
Public methodAddVisual(Byte) Adds visual object with specified data.
Public methodAddVisual(MimeData) Adds visual object.
Public methodAddVisual(String) Adds visual object. Data are read from the specified file.
Public methodCreate Creates new IMail using builder configuration.
Public methodCreateFromDocument Creates new IMail using specified MIME document.
Obsolete
Public methodCreateFromEml(Byte) Creates new IMail using specified eml raw data.
Public methodCreateFromEml(String) Creates new IMail using specified eml raw data string.
Obsolete
Public methodCreateFromEmlFile Loads raw eml data from file and creates new IMail object.
Public methodDKIMSign(ListDKIMSignatureConfiguration) Signs the message with multiple DKIM (DomainKeys Identified Mail) signatures.
Public methodDKIMSign(RSACryptoServiceProvider, DKIMSignatureInfo) Signs the message using DKIM (DomainKeys Identified Mail) signature. You can call this method multiple times to have several DKIM signatures present in the resulting message.
Public methodDKIMSign(RSACryptoServiceProvider, String, String) Signs the message using DKIM (DomainKeys Identified Mail) signature. You can call this method multiple times to have several DKIM signatures present in the resulting message.
Public methodEncryptWith(EncryptionConfiguration) Encrypts the message using specified encryption configuration.
Public methodEncryptWith(X509Certificate2) Encrypts the message using specified certificate. You can call this method multiple times to use several certificates for encryption. General rule is that both sender and receiver should be able to decrypt the message.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLoadHtml(String) Sets HTML version of the message. Modifies passed HTML, so that img tags reference inline images. Adds all images that can be found on disk to Visuals collection. Extracts plain text from HTML and overrides Text property.
Public methodLoadHtml(String, LoadHtmlConfiguration) Sets HTML version of the message. Modifies passed HTML, so that img tags reference inline images. Adds all images that can be found on disk to Visuals collection. Extracts plain text from HTML and overrides Text property.
Public methodLoadHtml(String, String) Sets HTML version of the message. Modifies passed HTML, so that img tags reference inline images. Adds all images that can be found on disk to Visuals collection. Extracts plain text from HTML and overrides Text property.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
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 methodRequestReadReceipt This method copies From or ReplyTo addresses to all read receipts lists, just before email is created (using Create method). Read receipts are stored using NotificationTo, ReturnReceiptTo and XConfirmReadingTo headers.
Public methodSignWith(SignatureConfiguration) Signs the message.
Public methodSignWith(X509Certificate2) Signs the message.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also